Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Create object from the resources folder of the engine by name and get its index if successful
Parameters:
- resource
- A string value
- x
- A float value
- y
- A float value
- z
- A float value
- UID Optional
- An integer value
returns an Integer (whole number) value
Example:
1 | obj.createObject(resource, x, y, z, UID) |