Component: Set Message State Behavior

SetMessageTutorialStateBehavior is a behavior that sets the state of a message component in order to display a message.

You can specify the content you want to display in 3 different ways:

  • Text: A simple text, which can optionally be rich text depending on how it's displayed
  • Object: Accepts a reference to a GameObject and displays that object as the content message.
  • Prefab: Accepts a prefab reference and instantiates it as the message content. The prefab instance will be destroyed when the message is cleared.

This component also features a bounds pipeline and string pipeline similar to the message component.