sm.scriptableObject

Associated object type: ScriptableObject

ScriptableObject creation

Functions:

  • createScriptableObject

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

    Server only

    Create a new Scriptable Object.

    Parameters:

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

    Returns:

    TypeDescription
    ScriptableObjectThe scriptable object.