Input hints
How interaction work from inside
All interactions extends from base class Interactable
and should override next methods:
UsePrimaryActionHint()
GetPrimaryHintText()
UseSecondaryActionHint()
GetSecondaryHintText()
This methods determine if action script will show any hints or not. For example:

UsePrimaryActionHint() => true;
GetPrimaryHintText() => "Pick object";
UseSecondaryActionHint() => true;
GetSecondaryHintText() => "Examine";

UsePrimaryActionHint() => true;
GetPrimaryHintText() => "Interact";
UseSecondaryActionHint() => false;
GetSecondaryHintText() => default;
Also, remember: If you want that action hints to be changed, you need to call method
UpdateHints()
from interaction script.
Last updated