Register
Registering isn't very similar to registering in People Playground. The Register Method takes 4 parameters.
Original Spawnable Name
New Spawnable Name
Category
Action
- See Action Events
Example:
GameObject.Find("Mod3DAPI").SendMessage("Register", new object[]
{
"Human", //Original Spawnable name
"Lean Monster", //New Spawnable name
"Liveables", //Category
act //Action variable
}, SendMessageOptions.DontRequireReceiver);
Last updated
Was this helpful?