Struct ColorTintTransition | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ColorTintTransition

    Applies a standard color-tint effect on controls that have a PointerInteraction component.

    Namespace: Unity.Tiny.UIControls
    Syntax
    public struct ColorTintTransition : IComponentData

    Fields

    disabled

    The color used when the entity has InactiveUIElement component.

    Declaration
    public Color disabled
    Field Value
    Type Description
    Color

    hover

    The color used when PointerInteraction.down = false and PointerInteraction.over = false.

    Declaration
    public Color hover
    Field Value
    Type Description
    Color

    normal

    The color used when PointerInteraction.down = false and PointerInteraction.over = false.

    Declaration
    public Color normal
    Field Value
    Type Description
    Color

    pressed

    The color used when PointerInteraction.down = true.

    Declaration
    public Color pressed
    Field Value
    Type Description
    Color
    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