Constructor EntityGuid
EntityGuid(int, int, uint, uint)
Initializes a new instance of the EntityGuid.
Declaration
public EntityGuid(int originatingId, int originatingSubId, uint namespaceId, uint serial)
Parameters
Type | Name | Description |
---|---|---|
int | originatingId | Session-unique ID for the originating object. This is typically the authoring GameObject's InstanceID. |
int | originatingSubId | Secondary session-unique ID for the originating object. This is typically the authoring Component's InstanceID. |
uint | namespaceId | A unique number to identify the namespace |
uint | serial | A unique number used to differentiate Entities associated with the same originating object and namespace |