Function GodotObject.getInstanceId
Returns the object's unique instance ID.
This ID can be saved in EncodedObjectAsID
, and can be used to retrieve the object instance with @GDScript
.
long getInstanceId() nothrow @nogc const;
Returns the object's unique instance ID.
This ID can be saved in EncodedObjectAsID
, and can be used to retrieve the object instance with @GDScript
.
long getInstanceId() nothrow @nogc const;