docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GetScriptResponse

    GetScriptResponse

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

    Constructors

    GetScriptResponse(string, ScriptType, Language, GetScriptResponseActiveScript, List<GetScriptResponseVersionsInner>, List<ScriptParameter>)

    Initializes a new instance of the GetScriptResponse class.

    Declaration
    [Preserve]
    public GetScriptResponse(string name = null, ScriptType type = (ScriptType)0, Language language = (Language)0, GetScriptResponseActiveScript activeScript = null, List<GetScriptResponseVersionsInner> versions = null, List<ScriptParameter> _params = null)
    Parameters
    Type Name Description
    string name

    Name of the script. Serves as a unique identifier. (required).

    ScriptType type

    type (required).

    Language language

    language (required).

    GetScriptResponseActiveScript activeScript

    activeScript (required).

    List<GetScriptResponseVersionsInner> versions

    A list of versions of the script. (required).

    List<ScriptParameter> _params

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

    Properties

    ActiveScript

    Gets or Sets ActiveScript

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

    Language

    Gets or Sets Language

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

    Name

    Name of the script. Serves as a unique identifier.

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

    Name of the script. Serves as a unique identifier.

    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.

    Type

    Gets or Sets Type

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

    Versions

    A list of versions of the script.

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

    A list of versions 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)