PixelCrushers.DialogueSystem.UsableUnityUI 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.UsableUnityUI:
Collaboration diagram for PixelCrushers.DialogueSystem.UsableUnityUI:

Classes

class  AnimationTransitions
 

Public Member Functions

void Awake ()
 
void Start ()
 
void Show (string useMessage)
 
void Hide ()
 
void OnBarkStart (Transform actor)
 
void OnConversationStart (Transform actor)
 
void UpdateDisplay (bool inRange)
 

Public Attributes

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()
 

Detailed Description

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

Member Function Documentation

◆ Awake()

void PixelCrushers.DialogueSystem.UsableUnityUI.Awake ( )

◆ Hide()

void PixelCrushers.DialogueSystem.UsableUnityUI.Hide ( )

◆ OnBarkStart()

void PixelCrushers.DialogueSystem.UsableUnityUI.OnBarkStart ( Transform  actor)

◆ OnConversationStart()

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

◆ Show()

void PixelCrushers.DialogueSystem.UsableUnityUI.Show ( string  useMessage)

◆ Start()

void PixelCrushers.DialogueSystem.UsableUnityUI.Start ( )

◆ UpdateDisplay()

void PixelCrushers.DialogueSystem.UsableUnityUI.UpdateDisplay ( bool  inRange)

Member Data Documentation

◆ animationTransitions

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

◆ inRangeColor

Color PixelCrushers.DialogueSystem.UsableUnityUI.inRangeColor = Color.yellow

◆ nameText

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

The text for the name of the current selection.

◆ outOfRangeColor

Color PixelCrushers.DialogueSystem.UsableUnityUI.outOfRangeColor = Color.gray

◆ reticleInRange

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

The graphic to show if the selection is in range.

◆ reticleOutOfRange

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

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

◆ useMessageText

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

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


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