Default Quest Message UI

The default quest message controller. This can display quest state changes and reward items.

Properties

Text Mesh: A TMP object that will display the message.

Item Slot Prefab: The default item slot prefab.

Item Slot Parent: The parent transform that will contain all item slots.

Anim: An animation component for the quest message to be animated in and out. Only one animation for both showing and hiding is supported.

Display Length: The amount of time the message is displayed for. This should match the animation length.

Background: The background image of the message.

Quest Accepted Color: The background color for when a quest is accepted.

Quest Completed Color: The background color for when a quest is completed.

Quest Abandoned Color: The background color for when a quest is abandoned.

Quest Failed Color: The background color for when a quest is failed.

Reward Received Color: The background color for when a reward is received.

Audio Source: The audio source for playing the sounds.

Quest Accepted Sound: The quest accepted sound.

Quest Completed Sound: The quest completed sound.

Quest Abandoned Sound: The quest abandoned sound.

Quest Failed Sound: The quest failed sound.

Reward Sound: The reward received sound.

Volume Scale: The volume scale that affects all sounds.

Last updated