PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay Class Reference

Replaces the Selector/ProximitySelector's OnGUI method with a method that enables or disables an NGUI UILabel and optional main control widget. More...

Inheritance diagram for PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay:
Collaboration diagram for PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay:

Public Member Functions

void Start ()
 
void OnEnable ()
 
void OnDisable ()
 
void Update ()
 

Public Attributes

UIWidget mainControl = null
 The main control (optional).
 
UILabel nameLabel = null
 The UILabel for the name of the current selection.
 
UILabel useMessageLabel = null
 The UILabel for the use message (e.g., "Press spacebar to use").
 
UIWidget reticleInRange = null
 The widget to show if the selection is in range.
 
UIWidget reticleOutOfRange = null
 The widget to show if the selection is out of range.
 
bool followTarget = false
 Position the mainControl on the selection target.
 

Protected Member Functions

void HideControls ()
 
void UpdateReticle ()
 

Properties

float CurrentDistance [get]
 

Detailed Description

Replaces the Selector/ProximitySelector's OnGUI method with a method that enables or disables an NGUI UILabel and optional main control widget.

Member Function Documentation

◆ HideControls()

void PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.HideControls ( )
inlineprotected

◆ OnDisable()

void PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.OnDisable ( )
inline

◆ OnEnable()

void PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.OnEnable ( )
inline

◆ Start()

void PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.Start ( )
inline

◆ Update()

void PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.Update ( )
inline

◆ UpdateReticle()

void PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.UpdateReticle ( )
inlineprotected

Member Data Documentation

◆ followTarget

bool PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.followTarget = false

Position the mainControl on the selection target.

◆ mainControl

UIWidget PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.mainControl = null

The main control (optional).

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

◆ nameLabel

UILabel PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.nameLabel = null

The UILabel for the name of the current selection.

◆ reticleInRange

UIWidget PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.reticleInRange = null

The widget to show if the selection is in range.

◆ reticleOutOfRange

UIWidget PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.reticleOutOfRange = null

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

◆ useMessageLabel

UILabel PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.useMessageLabel = null

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

Property Documentation

◆ CurrentDistance

float PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.CurrentDistance
getprotected

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