docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SpriteState

    Implements
    IEquatable<SpriteState>
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.UI
    Assembly: UnityEngine.UI.dll
    Syntax
    [Serializable]
    public struct SpriteState : IEquatable<SpriteState>

    Properties

    disabledSprite

    Disabled sprite.

    Declaration
    public Sprite disabledSprite { get; set; }
    Property Value
    Type Description
    Sprite

    highlightedSprite

    Highlighted sprite.

    Declaration
    public Sprite highlightedSprite { get; set; }
    Property Value
    Type Description
    Sprite

    pressedSprite

    Pressed sprite.

    Declaration
    public Sprite pressedSprite { get; set; }
    Property Value
    Type Description
    Sprite

    selectedSprite

    Selected sprite.

    Declaration
    public Sprite selectedSprite { get; set; }
    Property Value
    Type Description
    Sprite

    Methods

    Equals(SpriteState)

    Declaration
    public bool Equals(SpriteState other)
    Parameters
    Type Name Description
    SpriteState other
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    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)