sm.clientScriptableObject.createScriptableObject

Create a new client Scriptable Object.

Kind: Function

Environments: Game

Game

sm.clientScriptableObject.createScriptableObject( uuid, params, world )

Open the full Game reference

Availability: Client only

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.