Hi Tony,
I'm looking to implement a simple animation on the Quest HUD when node states change (e.g., when a node changes to True, it disappears from the HUD with an animation, or when a node changes to Active it animates in). I was going to create a custom version of the UnityUIQuestHUD class, but I wanted to check if there was a simpler/built-in way to add this functionality already. I didn't see anything in the code or on the forums about it, but I definitely could have missed it.
Thanks!
Quest HUD Text Animation
Re: Quest HUD Text Animation
Hi,
I suggest making a subclass of UnityUIQuestHUD and overriding the RefreshNow() method.
The current method calls MakeVisible() (still do that), then clears the currentContentManager and adds new content for each tracked quest.
Your overridden method can call MakeVisible() and, instead of just outright clearing currentContentManager, animate any new or outgoing content.
I suggest making a subclass of UnityUIQuestHUD and overriding the RefreshNow() method.
The current method calls MakeVisible() (still do that), then clears the currentContentManager and adds new content for each tracked quest.
Your overridden method can call MakeVisible() and, instead of just outright clearing currentContentManager, animate any new or outgoing content.