Register

Registering isn't very similar to registering in People Playground. The Register Method takes 4 parameters.

  1. Original Spawnable Name

  2. New Spawnable Name

  3. Category

  4. 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