Summary
[Editor-Only]
- In Unity 6.3+: returns the entity ID of the object.
- In older versions: returns the instance ID of the object.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- Serialization
Syntax
public static int GetEntityId(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object |
Return Value
| Type | Description |
|---|---|
| int |