Class CoherenceSceneLoader
- Namespace
- Coherence.Toolkit
- Assembly
- Coherence.Toolkit.dll
[NonBindable]
public sealed class CoherenceSceneLoader : CoherenceBehaviour
- Inheritance
-
CoherenceSceneLoader
Constructors
public CoherenceSceneLoader()
Fields
public ConnectionType connectionType
Field Value
- ConnectionType
public LocalPhysicsMode localPhysicsMode
Field Value
- LocalPhysicsMode
public UnityEvent<CoherenceBridge> onBeforeUnload
Field Value
- UnityEvent<CoherenceBridge>
public UnityEvent<CoherenceBridge> onLoaded
Field Value
- UnityEvent<CoherenceBridge>
Field Value
- string
public static List<Scene> scenes
Field Value
- List<Scene>
public UnloadSceneOptions unloadSceneOptions
Field Value
- UnloadSceneOptions
Properties
public bool Attach { get; set; }
Property Value
- bool
public Coroutine LoadingCoroutine { get; }
Property Value
- Coroutine
public Scene Scene { get; }
Property Value
- Scene
public Coroutine UnloadingCoroutine { get; }
Property Value
- Coroutine
Methods
public CoherenceSceneLoader Configure(CoherenceSceneLoaderConfig config)
Parameters
config
CoherenceSceneLoaderConfig
Returns
- CoherenceSceneLoader
public CoherenceSceneLoader Configure(string sceneName)
Parameters
sceneName
string
Returns
- CoherenceSceneLoader
public CoherenceSceneLoader Configure(string sceneName, ConnectionType connectionType)
Parameters
sceneName
string
connectionType
ConnectionType
Returns
- CoherenceSceneLoader
public static CoherenceSceneLoader CreateInstance()
Returns
- CoherenceSceneLoader
public static CoherenceSceneLoader CreateInstance(string name)
Parameters
name
string
Returns
- CoherenceSceneLoader
public static CoherenceSceneLoader CreateInstance(GameObject go)
Parameters
go
GameObject
Returns
- CoherenceSceneLoader
public CoherenceSceneLoader Load(EndpointData endpointData)
Parameters
endpointData
EndpointData
Returns
- CoherenceSceneLoader
protected override void Reset()
public CoherenceSceneLoader Unload()
Returns
- CoherenceSceneLoader