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:

Sample with both interactions

Sample with primary only interaction

More additional action hintschevron-right

Also, remember: If you want that action hints to be changed, you need to call method UpdateHints() from interaction script.

Last updated