UnityObjectToEntityId
method in Coherence.Toolkit.EntitiesManager
Methods
public static Entity UnityObjectToEntityId(GameObject from)
Parameters
Type | Name | Description |
---|---|---|
GameObject | from |
Returns
Type | Description |
---|---|
Entity |
public static Entity UnityObjectToEntityId(Component from)
Parameters
Type | Name | Description |
---|---|---|
Component | from |
Returns
Type | Description |
---|---|
Entity |
public Entity UnityObjectToEntityId(Transform from)
Gets the entity associated with a CoherenceSync.
Parameters
Type | Name | Description |
---|---|---|
Transform | from |
Returns
Type | Description |
---|---|
Entity |
public static Entity UnityObjectToEntityId(ICoherenceSync from)
Gets the entity associated with a CoherenceSync.
Parameters
Type | Name | Description |
---|---|---|
ICoherenceSync | from |
Returns
Type | Description |
---|---|
Entity |