References to standard UI selector elements to display the current selection instead of using Selector/ProximitySelector's default OnGUI method. More...
Classes | |
class | AnimationTransitions |
Public Attributes | |
UnityEngine.UI.Graphic | mainGraphic = null |
The main graphic (optional). | |
UITextField | nameText = null |
The text for the name of the current selection. | |
UITextField | useMessageText = null |
The text for the use message (e.g., "Press spacebar to use"). | |
bool | useRangeColors = true |
Color | inRangeColor = Color.yellow |
Color | outOfRangeColor = Color.gray |
UnityEngine.UI.Graphic | reticleInRange = null |
The graphic to show if the selection is in range. | |
UnityEngine.UI.Graphic | reticleOutOfRange = null |
The graphic to show if the selection is out of range. | |
AnimationTransitions | animationTransitions = new AnimationTransitions() |
Properties | |
Animator | animator [get] |
static List< StandardUISelectorElements > | instances [get] |
static StandardUISelectorElements | instance [get] |
References to standard UI selector elements to display the current selection instead of using Selector/ProximitySelector's default OnGUI method.
The Selector/ProximitySelector should have a SelectorUseStandardUIElements component to tell it to use these UI elements.
AnimationTransitions PixelCrushers.DialogueSystem.StandardUISelectorElements.animationTransitions = new AnimationTransitions() |
Color PixelCrushers.DialogueSystem.StandardUISelectorElements.inRangeColor = Color.yellow |
UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.StandardUISelectorElements.mainGraphic = null |
The main graphic (optional).
Assign this if you have created an entire panel for the selector.
UITextField PixelCrushers.DialogueSystem.StandardUISelectorElements.nameText = null |
The text for the name of the current selection.
Color PixelCrushers.DialogueSystem.StandardUISelectorElements.outOfRangeColor = Color.gray |
UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.StandardUISelectorElements.reticleInRange = null |
The graphic to show if the selection is in range.
UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.StandardUISelectorElements.reticleOutOfRange = null |
The graphic to show if the selection is out of range.
UITextField PixelCrushers.DialogueSystem.StandardUISelectorElements.useMessageText = null |
The text for the use message (e.g., "Press spacebar to use").
bool PixelCrushers.DialogueSystem.StandardUISelectorElements.useRangeColors = true |
|
get |
|
staticget |
|
staticget |