sm.clientScriptableObject

Associated object type: ClientScriptableObject

ScriptableObject creation

Functions:

  • createScriptableObject

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

    Client only

    Create a new client 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.