sm.scriptableObject
Associated object type: ScriptableObject
ScriptableObject creation
Functions:
sm.scriptableObject.createScriptableObject(uuid, params=nil, world=nil)
Server only
Create a new Scriptable Object.
Parameters:
| Type | Name | Description |
|---|---|---|
| Uuid | uuid | ScriptableObject uuid. |
| any | params=nil | self.params on scriptable object. |
| World | world=nil | The world this script belongs to, for world dependent api calls. Defaults to sm.world.ids.noWorld |
Returns:
| Type | Description |
|---|---|
| ScriptableObject | The scriptable object. |