Class CoherenceBridgeStore
public static class CoherenceBridgeStore
- Inheritance
-
CoherenceBridgeStore
Properties
MasterBridge
public static CoherenceBridge MasterBridge { get; }
Property Value
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
CoherenceBridgeid
intisMaster
bool
RegisterBridge(CoherenceBridge, Scene, bool)
public static void RegisterBridge(CoherenceBridge bridge, Scene scene, bool isMaster)
Parameters
bridge
CoherenceBridgescene
SceneisMaster
bool
TryGetBridge(int, out CoherenceBridge)
public static bool TryGetBridge(int id, out CoherenceBridge bridge)
Parameters
id
intbridge
CoherenceBridge
Returns
TryGetBridge(Scene, out CoherenceBridge)
public static bool TryGetBridge(Scene scene, out CoherenceBridge bridge)
Parameters
scene
Scenebridge
CoherenceBridge
Returns
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
Sceneresolver
CoherenceBridgeResolver<T>component
Tbridge
CoherenceBridge
Returns
Type Parameters
T
Events
BridgeResolve
public static event CoherenceBridgeResolver<MonoBehaviour> BridgeResolve