PixelCrushers.DialogueSystem.StandardUsableUI Class Reference

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

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

Classes

class  AnimationTransitions
 

Public Member Functions

virtual void Awake ()
 
virtual void Start ()
 
override void Show (string useMessage)
 
override void Hide ()
 
void OnBarkStart (Transform actor)
 
void OnConversationStart (Transform actor)
 
override void UpdateDisplay (bool inRange)
 
- Public Member Functions inherited from PixelCrushers.DialogueSystem.AbstractUsableUI
void Show (string useMessage)
 
void Hide ()
 
void UpdateDisplay (bool inRange)
 

Public Attributes

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").
 
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()
 
Canvas canvas
 

Protected Attributes

Animator animator = null
 
Usable usable = null
 

Detailed Description

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

Member Function Documentation

◆ Awake()

virtual void PixelCrushers.DialogueSystem.StandardUsableUI.Awake ( )
inlinevirtual

◆ Hide()

override void PixelCrushers.DialogueSystem.StandardUsableUI.Hide ( )
inline

◆ OnBarkStart()

void PixelCrushers.DialogueSystem.StandardUsableUI.OnBarkStart ( Transform  actor)
inline

◆ OnConversationStart()

void PixelCrushers.DialogueSystem.StandardUsableUI.OnConversationStart ( Transform  actor)
inline

◆ Show()

override void PixelCrushers.DialogueSystem.StandardUsableUI.Show ( string  useMessage)
inline

◆ Start()

virtual void PixelCrushers.DialogueSystem.StandardUsableUI.Start ( )
inlinevirtual

◆ UpdateDisplay()

override void PixelCrushers.DialogueSystem.StandardUsableUI.UpdateDisplay ( bool  inRange)
inline

Member Data Documentation

◆ animationTransitions

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

◆ animator

Animator PixelCrushers.DialogueSystem.StandardUsableUI.animator = null
protected

◆ canvas

Canvas PixelCrushers.DialogueSystem.StandardUsableUI.canvas

◆ inRangeColor

Color PixelCrushers.DialogueSystem.StandardUsableUI.inRangeColor = Color.yellow

◆ nameText

UITextField PixelCrushers.DialogueSystem.StandardUsableUI.nameText = null

The text for the name of the current selection.

◆ outOfRangeColor

Color PixelCrushers.DialogueSystem.StandardUsableUI.outOfRangeColor = Color.gray

◆ reticleInRange

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

The graphic to show if the selection is in range.

◆ reticleOutOfRange

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

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

◆ usable

Usable PixelCrushers.DialogueSystem.StandardUsableUI.usable = null
protected

◆ useMessageText

UITextField PixelCrushers.DialogueSystem.StandardUsableUI.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: