Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
obj.setUID(value) accepts an integer (whole number) value that can be used to uniquely identify this object to other scripts.
It can also be set in the editor directly, but this command is useful for objects that are copied or otherwise spawned while playing a level.