- Endless loop -
Development notes of Construct 2's plugins
Showing posts with label
UID
.
Show all posts
Showing posts with label
UID
.
Show all posts
Get UID from instance, get instance from UID
Ge
t UID from instanc
e
var uid = inst.uid;
Ge
t instance from UID
var
uid2inst = function (uid)
{
if (uid == null)
return null
return
this
.
runtime
.
getObjectByUID
(
uid
);
}
It will return an instance or null.
Older Posts
Home
Subscribe to:
Posts (Atom)