PixelCrushers.DialogueSystem.StandardUISelectorElements Class Reference

References to standard UI selector elements to display the current selection instead of using Selector/ProximitySelector's default OnGUI method. More...

Inheritance diagram for PixelCrushers.DialogueSystem.StandardUISelectorElements:
Collaboration diagram for PixelCrushers.DialogueSystem.StandardUISelectorElements:

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< StandardUISelectorElementsinstances [get]
 
static StandardUISelectorElements instance [get]
 

Detailed Description

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.

Member Data Documentation

◆ animationTransitions

AnimationTransitions PixelCrushers.DialogueSystem.StandardUISelectorElements.animationTransitions = new AnimationTransitions()

◆ inRangeColor

Color PixelCrushers.DialogueSystem.StandardUISelectorElements.inRangeColor = Color.yellow

◆ mainGraphic

UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.StandardUISelectorElements.mainGraphic = null

The main graphic (optional).

Assign this if you have created an entire panel for the selector.

◆ nameText

UITextField PixelCrushers.DialogueSystem.StandardUISelectorElements.nameText = null

The text for the name of the current selection.

◆ outOfRangeColor

Color PixelCrushers.DialogueSystem.StandardUISelectorElements.outOfRangeColor = Color.gray

◆ reticleInRange

UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.StandardUISelectorElements.reticleInRange = null

The graphic to show if the selection is in range.

◆ reticleOutOfRange

UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.StandardUISelectorElements.reticleOutOfRange = null

The graphic to show if the selection is out of range.

◆ useMessageText

UITextField PixelCrushers.DialogueSystem.StandardUISelectorElements.useMessageText = null

The text for the use message (e.g., "Press spacebar to use").

◆ useRangeColors

bool PixelCrushers.DialogueSystem.StandardUISelectorElements.useRangeColors = true

Property Documentation

◆ animator

Animator PixelCrushers.DialogueSystem.StandardUISelectorElements.animator
get

◆ instance

StandardUISelectorElements PixelCrushers.DialogueSystem.StandardUISelectorElements.instance
staticget

◆ instances

List<StandardUISelectorElements> PixelCrushers.DialogueSystem.StandardUISelectorElements.instances
staticget

The documentation for this class was generated from the following file: