docs.unity3d.com
    Show / Hide Table of Contents

    Struct Arg

    Namespace: SerializableCallback
    Syntax
    [Serializable]
    public struct Arg

    Fields

    argType

    Declaration
    public Arg.ArgType argType
    Field Value
    Type Description
    Arg.ArgType

    boolValue

    Declaration
    public bool boolValue
    Field Value
    Type Description
    Boolean

    floatValue

    Declaration
    public float floatValue
    Field Value
    Type Description
    Single

    intValue

    Declaration
    public int intValue
    Field Value
    Type Description
    Int32

    objectValue

    Declaration
    public Object objectValue
    Field Value
    Type Description
    Object

    stringValue

    Declaration
    public string stringValue
    Field Value
    Type Description
    String

    Methods

    FromRealType(Type)

    Declaration
    public static Arg.ArgType FromRealType(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Arg.ArgType

    GetValue()

    Declaration
    public object GetValue()
    Returns
    Type Description
    Object

    GetValue(Arg.ArgType)

    Declaration
    public object GetValue(Arg.ArgType type)
    Parameters
    Type Name Description
    Arg.ArgType type
    Returns
    Type Description
    Object

    IsSupported(Type)

    Declaration
    public static bool IsSupported(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean

    RealType(Arg.ArgType)

    Declaration
    public static Type RealType(Arg.ArgType type)
    Parameters
    Type Name Description
    Arg.ArgType type
    Returns
    Type Description
    Type
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023