PixelCrushers.DialogueSystem.SelectorFollowTarget Class Reference

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...

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

Public Member Functions

virtual void OnGUI ()
 Draws the selection UI on top of the selection target. More...
 

Public Attributes

Vector3 offset = Vector3.zero
 

Protected Member Functions

void DrawOnSelection (Usable usable, float distance, Selector.Reticle reticle, GUIStyle guiStyle, string defaultUseMessage, Color inRangeColor, Color outOfRangeColor, TextStyle textStyle, Color textStyleColor)
 

Detailed Description

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.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ offset

Vector3 PixelCrushers.DialogueSystem.SelectorFollowTarget.offset = Vector3.zero

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