Usable

Component > Pixel Crushers > Dialogue System > Actor > Usable

Specifies that the GameObject is usable – that is, the player can target it and send OnUse messages.

Properties

Property Function
Override Name The name to show when selected. If blank, uses the GameObject's actor name.
Override Use Message Overrides the generic "Use" message displayed by the player's selector.
Max Use Distance The maximum distance from which the GameObject may be used.
On Select () Event that runs when a Selector or Proximity Selector selects this usable.
On Deselect () Event that runs when a Selector or Proximity Selector deselects this usable.
On Use () Event that runs when a Selector or Proximity Selector uses this usable.

Details

This component marks a GameObject usable, which allows the player to target it with a Selector or Proximity Selector and send an OnUse message.

When the player targets the GameObject, the player's selector will display Override Use Message. If this property is blank, the selector will display a generic message.

For more information, see Triggers & Interaction.


<< Component Reference