This component modifies the behavior of a Selector or ProximitySelector to draw the heading and reticle on top of the selection instead an absolute screen position.
More...
|
virtual void | OnGUI () |
| Draws the selection UI on top of the selection target. More...
|
|
This component modifies the behavior of a Selector or ProximitySelector to draw the heading and reticle on top of the selection instead an absolute screen position.
◆ DrawOnSelection()
void PixelCrushers.DialogueSystem.SelectorFollowTarget.DrawOnSelection |
( |
Usable |
usable, |
|
|
float |
distance, |
|
|
Selector.Reticle |
reticle, |
|
|
GUIStyle |
guiStyle, |
|
|
string |
defaultUseMessage, |
|
|
Color |
inRangeColor, |
|
|
Color |
outOfRangeColor, |
|
|
TextStyle |
textStyle, |
|
|
Color |
textStyleColor |
|
) |
| |
|
protected |
◆ OnGUI()
virtual void PixelCrushers.DialogueSystem.SelectorFollowTarget.OnGUI |
( |
| ) |
|
|
virtual |
Draws the selection UI on top of the selection target.
◆ offset
Vector3 PixelCrushers.DialogueSystem.SelectorFollowTarget.offset = Vector3.zero |
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Release/Assets/Dialogue System/Scripts/Supplemental/Utility/SelectorFollowTarget.cs