docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpdateScriptRequest

    UpdateScriptRequest

    Inheritance
    object
    UpdateScriptRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Apis.Admin.CloudCode
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "UpdateScriptRequest")]
    [Preserve]
    public class UpdateScriptRequest

    Constructors

    UpdateScriptRequest(List<ScriptParameter>, string)

    Initializes a new instance of the UpdateScriptRequest class.

    Declaration
    [Preserve]
    public UpdateScriptRequest(List<ScriptParameter> _params = null, string code = null)
    Parameters
    Type Name Description
    List<ScriptParameter> _params

    The list of parameters which can be defined for a script..

    string code

    The script code to be executed.

    Properties

    Code

    The script code to be executed

    Declaration
    [DataMember(Name = "code", EmitDefaultValue = false)]
    [Preserve]
    public string Code { get; set; }
    Property Value
    Type Description
    string

    The script code to be executed

    Params

    The list of parameters which can be defined for a script.

    Declaration
    [DataMember(Name = "params", EmitDefaultValue = false)]
    [Preserve]
    public List<ScriptParameter> Params { get; set; }
    Property Value
    Type Description
    List<ScriptParameter>

    The list of parameters which can be defined for a script.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)