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