This component indicates that the game object is usable.
More...
|
string | GetName () |
| Gets the name of the override, including parsing if it contains a [lua] or [var] tag. More...
|
|
virtual void | Start () |
|
This component indicates that the game object is usable.
This component works in conjunction with the Selector component. If you leave overrideName blank but there is an OverrideActorName component on the same object, this component will use the name specified in OverrideActorName.
◆ GetName()
string PixelCrushers.DialogueSystem.Usable.GetName |
( |
| ) |
|
Gets the name of the override, including parsing if it contains a [lua] or [var] tag.
- Returns
- The override name.
◆ Start()
virtual void PixelCrushers.DialogueSystem.Usable.Start |
( |
| ) |
|
|
virtual |
◆ maxUseDistance
float PixelCrushers.DialogueSystem.Usable.maxUseDistance = 5f |
The max distance at which the object can be used.
◆ overrideName
string PixelCrushers.DialogueSystem.Usable.overrideName |
(Optional) Overrides the name shown by the Selector.
◆ overrideUseMessage
string PixelCrushers.DialogueSystem.Usable.overrideUseMessage |
(Optional) Overrides the use message shown by the Selector.
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/Usable.cs