docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GetScriptResponseActiveScript

    Information about the currently active version of the script.

    Inheritance
    object
    GetScriptResponseActiveScript
    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 = "GetScriptResponse_activeScript")]
    [Preserve]
    public class GetScriptResponseActiveScript

    Constructors

    GetScriptResponseActiveScript(string, int, DateTime, List<ScriptParameter>)

    Initializes a new instance of the GetScriptResponseActiveScript class.

    Declaration
    [Preserve]
    public GetScriptResponseActiveScript(string code = null, int version = 0, DateTime datePublished = default, List<ScriptParameter> _params = null)
    Parameters
    Type Name Description
    string code

    The script code to be executed (required).

    int version

    The version id of the active version of the script (required).

    DateTime datePublished

    RFC3339 date representation (required).

    List<ScriptParameter> _params

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

    Properties

    Code

    The script code to be executed

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

    The script code to be executed

    DatePublished

    RFC3339 date representation

    Declaration
    [DataMember(Name = "datePublished", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public DateTime DatePublished { get; set; }
    Property Value
    Type Description
    DateTime

    RFC3339 date representation

    Params

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

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

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

    _Version

    The version id of the active version of the script

    Declaration
    [DataMember(Name = "version", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public int _Version { get; set; }
    Property Value
    Type Description
    int

    The version id of the active version of the 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)