Table of Contents

Class CoherenceBridgeStore

Namespace
Coherence.Toolkit
Assembly
Coherence.Toolkit.dll
public static class CoherenceBridgeStore
Inheritance
CoherenceBridgeStore

Properties

MasterBridge

public static CoherenceBridge MasterBridge { get; }

Property Value

CoherenceBridge

Methods

DeregisterBridge(CoherenceBridge)

public static void DeregisterBridge(CoherenceBridge bridge)

Parameters

bridge CoherenceBridge

DeregisterBridge(int)

public static void DeregisterBridge(int id)

Parameters

id int

DeregisterBridge(Scene)

public static void DeregisterBridge(Scene scene)

Parameters

scene Scene

RegisterBridge(CoherenceBridge, int, bool)

public static void RegisterBridge(CoherenceBridge bridge, int id, bool isMaster)

Parameters

bridge CoherenceBridge
id int
isMaster bool

RegisterBridge(CoherenceBridge, Scene, bool)

public static void RegisterBridge(CoherenceBridge bridge, Scene scene, bool isMaster)

Parameters

bridge CoherenceBridge
scene Scene
isMaster bool

TryGetBridge(int, out CoherenceBridge)

public static bool TryGetBridge(int id, out CoherenceBridge bridge)

Parameters

id int
bridge CoherenceBridge

Returns

bool

TryGetBridge(Scene, out CoherenceBridge)

public static bool TryGetBridge(Scene scene, out CoherenceBridge bridge)

Parameters

scene Scene
bridge CoherenceBridge

Returns

bool

TryGetBridge<T>(Scene, CoherenceBridgeResolver<T>, T, out CoherenceBridge)

public static bool TryGetBridge<T>(Scene scene, CoherenceBridgeResolver<T> resolver, T component, out CoherenceBridge bridge) where T : MonoBehaviour

Parameters

scene Scene
resolver CoherenceBridgeResolver<T>
component T
bridge CoherenceBridge

Returns

bool

Type Parameters

T

Events

BridgeResolve

public static event CoherenceBridgeResolver<MonoBehaviour> BridgeResolve

Event Type

CoherenceBridgeResolver<MonoBehaviour>