Replaces the Selector/ProximitySelector's OnGUI method with a method that enables or disables an NGUI UILabel and optional main control widget.
More...
|
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.
|
|
Replaces the Selector/ProximitySelector's OnGUI method with a method that enables or disables an NGUI UILabel and optional main control widget.
◆ 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 |
◆ 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").
◆ CurrentDistance
float PixelCrushers.DialogueSystem.NGUISupport.NGUISelectorDisplay.CurrentDistance |
|
getprotected |
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Integration2/NGUI Integration/Assets/Pixel Crushers/Dialogue System/Third Party Support/NGUI Support/Scripts/Miscellaneous/NGUISelectorDisplay.cs