How do I find out the instance numer of an instance? Is this possible?
Develop games in your browser. Powerful, performant & highly capable.
IID gives you the index of the instance, UID gives you the index of the object.
Both are based on the order in which they are created, however you can have multiples of IID, and only one of the UID, but it can be recycled as you destroy objects.
Thanks again, newt.
I'll create a variable to find out the values in debugging. I presume this is a fast way to obtain that number.
Using the debugger is even easier ;)