Summary

public long GetEntityId()

Obtains the entity ID either directly from itself or from its containing entity if the interface is used on a component.

Returns

long

ID of the given entity.