Table of Contents

Class CoherenceSceneLoader

Namespace
Coherence.Toolkit
Assembly
Coherence.Toolkit.dll
[NonBindable]
public sealed class CoherenceSceneLoader : CoherenceBehaviour
Inheritance
CoherenceSceneLoader

Constructors

CoherenceSceneLoader()

public CoherenceSceneLoader()

Fields

connectionType

public ConnectionType connectionType

Field Value

ConnectionType

localPhysicsMode

public LocalPhysicsMode localPhysicsMode

Field Value

LocalPhysicsMode

onBeforeUnload

public UnityEvent<CoherenceBridge> onBeforeUnload

Field Value

UnityEvent<CoherenceBridge>

onLoaded

public UnityEvent<CoherenceBridge> onLoaded

Field Value

UnityEvent<CoherenceBridge>

sceneName

public string sceneName

Field Value

string

scenes

public static List<Scene> scenes

Field Value

List<Scene>

unloadSceneOptions

public UnloadSceneOptions unloadSceneOptions

Field Value

UnloadSceneOptions

Properties

Attach

public bool Attach { get; set; }

Property Value

bool

LoadingCoroutine

public Coroutine LoadingCoroutine { get; }

Property Value

Coroutine

Scene

public Scene Scene { get; }

Property Value

Scene

UnloadingCoroutine

public Coroutine UnloadingCoroutine { get; }

Property Value

Coroutine

Methods

Configure(CoherenceSceneLoaderConfig)

public CoherenceSceneLoader Configure(CoherenceSceneLoaderConfig config)

Parameters

config CoherenceSceneLoaderConfig

Returns

CoherenceSceneLoader

Configure(string)

public CoherenceSceneLoader Configure(string sceneName)

Parameters

sceneName string

Returns

CoherenceSceneLoader

Configure(string, ConnectionType)

public CoherenceSceneLoader Configure(string sceneName, ConnectionType connectionType)

Parameters

sceneName string
connectionType ConnectionType

Returns

CoherenceSceneLoader

CreateInstance()

public static CoherenceSceneLoader CreateInstance()

Returns

CoherenceSceneLoader

CreateInstance(string)

public static CoherenceSceneLoader CreateInstance(string name)

Parameters

name string

Returns

CoherenceSceneLoader

CreateInstance(GameObject)

public static CoherenceSceneLoader CreateInstance(GameObject go)

Parameters

go GameObject

Returns

CoherenceSceneLoader

Load(EndpointData)

public CoherenceSceneLoader Load(EndpointData endpointData)

Parameters

endpointData EndpointData

Returns

CoherenceSceneLoader

Reset()

protected override void Reset()

Unload()

public CoherenceSceneLoader Unload()

Returns

CoherenceSceneLoader