Class CoherenceBridgeStore
- Namespace
- Coherence.Toolkit
- Assembly
- Coherence.Toolkit.dll
public static class CoherenceBridgeStore
- Inheritance
-
CoherenceBridgeStore
Properties
public static CoherenceBridge MasterBridge { get; }
Property Value
- CoherenceBridge
Methods
public static void DeregisterBridge(CoherenceBridge bridge)
Parameters
bridge
CoherenceBridge
public static void DeregisterBridge(int id)
Parameters
id
int
public static void DeregisterBridge(Scene scene)
Parameters
scene
Scene
public static void RegisterBridge(CoherenceBridge bridge, int id, bool isMaster)
Parameters
bridge
CoherenceBridge
id
int
isMaster
bool
public static void RegisterBridge(CoherenceBridge bridge, Scene scene, bool isMaster)
Parameters
bridge
CoherenceBridge
scene
Scene
isMaster
bool
public static bool TryGetBridge(int id, out CoherenceBridge bridge)
Parameters
id
int
bridge
CoherenceBridge
Returns
- bool
public static bool TryGetBridge(Scene scene, out CoherenceBridge bridge)
Parameters
scene
Scene
bridge
CoherenceBridge
Returns
- bool
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
public static event CoherenceBridgeResolver<MonoBehaviour> BridgeResolve
Event Type
- CoherenceBridgeResolver<MonoBehaviour>