PixelCrushers.DialogueSystem.UnityUISelectorDisplay Class Reference

Replaces the Selector/ProximitySelector's OnGUI method with a method that enables or disables new Unity UI controls. More...

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

Classes

class  AnimationTransitions
 

Public Member Functions

void Start ()
 
void FindUIElements ()
 
void OnEnable ()
 
void OnDisable ()
 
void Update ()
 
void OnConversationStart (Transform actor)
 
void OnConversationEnd (Transform actor)
 

Public Attributes

UnityEngine.UI.Graphic mainGraphic = null
 The main graphic (optional). More...
 
UnityEngine.UI.Text nameText = null
 The text for the name of the current selection. More...
 
UnityEngine.UI.Text 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...
 
AnimationTransitions animationTransitions = new AnimationTransitions()
 

Properties

float? CurrentDistance [get]
 

Detailed Description

Replaces the Selector/ProximitySelector's OnGUI method with a method that enables or disables new Unity UI controls.

Member Function Documentation

◆ FindUIElements()

void PixelCrushers.DialogueSystem.UnityUISelectorDisplay.FindUIElements ( )

◆ OnConversationEnd()

void PixelCrushers.DialogueSystem.UnityUISelectorDisplay.OnConversationEnd ( Transform  actor)

◆ OnConversationStart()

void PixelCrushers.DialogueSystem.UnityUISelectorDisplay.OnConversationStart ( Transform  actor)

◆ OnDisable()

void PixelCrushers.DialogueSystem.UnityUISelectorDisplay.OnDisable ( )

◆ OnEnable()

void PixelCrushers.DialogueSystem.UnityUISelectorDisplay.OnEnable ( )

◆ Start()

void PixelCrushers.DialogueSystem.UnityUISelectorDisplay.Start ( )

◆ Update()

void PixelCrushers.DialogueSystem.UnityUISelectorDisplay.Update ( )

Member Data Documentation

◆ animationTransitions

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

◆ inRangeColor

Color PixelCrushers.DialogueSystem.UnityUISelectorDisplay.inRangeColor = Color.yellow

◆ mainGraphic

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

The main graphic (optional).

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

◆ nameText

UnityEngine.UI.Text PixelCrushers.DialogueSystem.UnityUISelectorDisplay.nameText = null

The text for the name of the current selection.

◆ outOfRangeColor

Color PixelCrushers.DialogueSystem.UnityUISelectorDisplay.outOfRangeColor = Color.gray

◆ reticleInRange

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

The graphic to show if the selection is in range.

◆ reticleOutOfRange

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

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

◆ useMessageText

UnityEngine.UI.Text PixelCrushers.DialogueSystem.UnityUISelectorDisplay.useMessageText = null

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

Property Documentation

◆ CurrentDistance

float? PixelCrushers.DialogueSystem.UnityUISelectorDisplay.CurrentDistance
getprotected

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