EntitiesManager
class in Coherence.Toolkit
Handles network entity state, and links network entities to Unity objects.
Remarks
Used by CoherenceSync and CoherenceBridge.
Properties
ConnectionEntityID | The entity that represents the connection. |
EntityCount | Number of known entities. |
NetworkEntities | Set of known entities. |
Methods
EntityIdToCoherenceSync | Get the ICoherenceSync associated with an Entity. |
EntityIdToGameObject | Get the UnityEngine.GameObject associated with an Entity. |
EntityIdToRectTransform | Get the RectTransform associated with an Entity. |
EntityIdToTransform | |
GetCoherenceSyncForEntity | Gets a CoherenceSync for a given entity, from the known set of entities. |
GetEnumerator | Enumerates the known network entities. |
GetNetworkEntityStateForEntity | Gets the entity state for a given entity, from the known set of entities. |
SetActiveScene | Set the active Unity scene based on the associated CoherenceBridge. |
UnityObjectToEntityId | Gets the entity associated with a CoherenceSync. |