sm.clientScriptableObject
ScriptableObject creation
Client-only
createScriptableObject
sm.clientScriptableObject.createScriptableObject( uuid, params, world )
Create a new client Scriptable Object.
Parameters:
| Name | Type | Description |
|---|---|---|
uuid |
Uuid | ScriptableObject uuid. |
params (optional) |
any | self.params on scriptable object. |
world (optional) |
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. |