sm.scriptableObject.createScriptableObject

Create a new Scriptable Object.

Kind: Function

Environments: Game

Game

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

Open the full Game reference

Availability: Server 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.