Class GlobalObjectKey<T> | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class GlobalObjectKey<T>

    Inheritance
    Object
    Key
    GlobalKey
    GlobalKey<T>
    GlobalObjectKey<T>
    Inherited Members
    GlobalKey<T>.key(String)
    GlobalKey<T>.currentState
    GlobalKey.currentContext
    GlobalKey.currentWidget
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class GlobalObjectKey<T> : GlobalKey<T>, IEquatable<GlobalObjectKey<T>> where T : State
    Type Parameters
    Name Description
    T

    Constructors

    GlobalObjectKey(Object)

    Declaration
    public GlobalObjectKey(object value)
    Parameters
    Type Name Description
    Object value

    Fields

    value

    Declaration
    public readonly object value
    Field Value
    Type Description
    Object

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)

    Equals(GlobalObjectKey<T>)

    Declaration
    public bool Equals(GlobalObjectKey<T> other)
    Parameters
    Type Name Description
    GlobalObjectKey<T> other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Operators

    Equality(GlobalObjectKey<T>, GlobalObjectKey<T>)

    Declaration
    public static bool operator ==(GlobalObjectKey<T> left, GlobalObjectKey<T> right)
    Parameters
    Type Name Description
    GlobalObjectKey<T> left
    GlobalObjectKey<T> right
    Returns
    Type Description
    Boolean

    Inequality(GlobalObjectKey<T>, GlobalObjectKey<T>)

    Declaration
    public static bool operator !=(GlobalObjectKey<T> left, GlobalObjectKey<T> right)
    Parameters
    Type Name Description
    GlobalObjectKey<T> left
    GlobalObjectKey<T> right
    Returns
    Type Description
    Boolean
    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