Struct DefaultControls.Resources
Object used to pass resources to use for the default controls.
Inherited Members
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 |