This component indicates that the game object is usable. More...
Classes | |
class | UsableEvents |
Public Member Functions | |
virtual void | Start () |
virtual string | GetName () |
Gets the name of the override, including parsing if it contains a [lua] or [var] tag. | |
virtual void | OnSelectUsable () |
virtual void | OnDeselectUsable () |
virtual void | OnUseUsable () |
Public Attributes | |
float | maxUseDistance = 5f |
The max distance at which the object can be used. | |
UsableEvents | events |
Protected Member Functions | |
virtual void | OnDisable () |
Properties | |
virtual string | overrideName [get, set] |
virtual string | overrideUseMessage [get, set] |
Events | |
UsableDelegate | disabled = delegate { } |
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.
|
inlinevirtual |
Gets the name of the override, including parsing if it contains a [lua] or [var] tag.
|
inlinevirtual |
|
inlineprotectedvirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
UsableEvents PixelCrushers.DialogueSystem.Usable.events |
float PixelCrushers.DialogueSystem.Usable.maxUseDistance = 5f |
The max distance at which the object can be used.
|
getset |
|
getset |
UsableDelegate PixelCrushers.DialogueSystem.Usable.disabled = delegate { } |