Optional component to provide references to selector UI elements. More...
Public Attributes | |
UnityEngine.UI.Graphic | mainGraphic = null |
The main graphic (optional). More... | |
TMPro.TextMeshProUGUI | nameText = null |
The text for the name of the current selection. More... | |
TMPro.TextMeshProUGUI | useMessageText = null |
The text for the use message (e.g., "Press spacebar to use"). More... | |
Color | inRangeColor = Color.yellow |
Color | outOfRangeColor = Color.gray |
UnityEngine.UI.Graphic | reticleInRange = null |
The graphic to show if the selection is in range. More... | |
UnityEngine.UI.Graphic | reticleOutOfRange = null |
The graphic to show if the selection is out of range. More... | |
TextMeshProSelectorDisplay.AnimationTransitions | animationTransitions = new TextMeshProSelectorDisplay.AnimationTransitions() |
Static Public Attributes | |
static TextMeshProSelectorElements | instance = null |
Optional component to provide references to selector UI elements.
TextMeshProSelectorDisplay.AnimationTransitions PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorElements.animationTransitions = new TextMeshProSelectorDisplay.AnimationTransitions() |
Color PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorElements.inRangeColor = Color.yellow |
|
static |
UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorElements.mainGraphic = null |
The main graphic (optional).
Assign this if you have created an entire panel for the selector.
TMPro.TextMeshProUGUI PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorElements.nameText = null |
The text for the name of the current selection.
Color PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorElements.outOfRangeColor = Color.gray |
UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorElements.reticleInRange = null |
The graphic to show if the selection is in range.
UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorElements.reticleOutOfRange = null |
The graphic to show if the selection is out of range.
TMPro.TextMeshProUGUI PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorElements.useMessageText = null |
The text for the use message (e.g., "Press spacebar to use").