sm.scriptableObject

Associated object type: ScriptableObject

ScriptableObject creation

Functions:

  • createScriptableObject

  • sm.scriptableObject.createScriptableObject(uuid, params=nil, world=nil)

    Server only

    Create a new Scriptable Object.

    Parameters:

    TypeNameDescription
    UuiduuidScriptableObject uuid.
    anyparams=nilself.params on scriptable object.
    Worldworld=nilThe world this script belongs to, for world dependent api calls. Defaults to sm.world.ids.noWorld

    Returns:

    TypeDescription
    ScriptableObjectThe scriptable object.