docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct DefaultControls.Resources

    Object used to pass resources to use for the default controls.

    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
    public struct DefaultControls.Resources

    Fields

    background

    Sprite used for background elements.

    Declaration
    public Sprite background
    Field Value
    Type Description
    Sprite

    checkmark

    Sprite used for representation of an "on" state when present, such as a checkmark.

    Declaration
    public Sprite checkmark
    Field Value
    Type Description
    Sprite

    dropdown

    Sprite used to indicate that a button will open a dropdown when clicked.

    Declaration
    public Sprite dropdown
    Field Value
    Type Description
    Sprite

    inputField

    Sprite used as background for input fields.

    Declaration
    public Sprite inputField
    Field Value
    Type Description
    Sprite

    knob

    Sprite used for knobs that can be dragged, such as on a slider.

    Declaration
    public Sprite knob
    Field Value
    Type Description
    Sprite

    mask

    Sprite used for masking purposes, for example to be used for the viewport of a scroll view.

    Declaration
    public Sprite mask
    Field Value
    Type Description
    Sprite

    standard

    The primary sprite to be used for graphical UI elements, used by the button, toggle, and dropdown controls, among others.

    Declaration
    public Sprite standard
    Field Value
    Type Description
    Sprite
    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)