Page 1 of 1

Unity UI quest entries?

Posted: Fri Oct 02, 2015 9:21 am
by Arcanor
How are quest entries intended to be used with the new Unity UI? I see that the documentation for the legacy Unity GUI shows variables for GUI Styles for each of the quest entry statuses, but how can I do that using the new UnityUIQuestLogWindow? Is this a feature that you decided to drop, and so I will need to create a custom subclass?

As it stands, I can get my quest entries to show in the quest log and HUD, but they all look the same no matter what the Entry_1_Status is set to. I'd like to be able to use an alternate coloring/font/size/bold/italic or something depending on the state of each entry, in both the quest Log and the HUD.

Re: Unity UI quest entries?

Posted: Fri Oct 02, 2015 10:36 am
by Tony Li
Just my poor artistic judgment. Fortunately I know how to program, so I'm not entirely useless. :-)

I had thought that a single style would look best, but I definitely see your point that different styles for each state would be useful. While I'm fixing the other issue, I'll also add this capability. To give you the most flexibility, I'll add fields for Success Entry Description and Failure Entry Description. When an entry is in the success state, it will use the Success Entry Description and hide the Entry Description and Failure Entry Description.

I'll also do the same for the overall quest description field.

Re: Unity UI quest entries?

Posted: Fri Oct 02, 2015 10:44 am
by Arcanor
Fantastic, thanks again Tony! Useless? Not hardly!

Re: Unity UI quest entries?

Posted: Tue Oct 06, 2015 11:36 pm
by Tony Li
I'm running behind on some final touches on Makinom integration, so I released 1.5.6-beta1 for customers who are waiting for updates to the core system. You can download it from the customer download page. Unity UI quest log windows and quest tracker HUDs now support different styles for success and failure states. There are example prefabs in Prefabs/Unity UI Prefabs/Generic. The names end in "...Styled".

Re: Unity UI quest entries?

Posted: Wed Oct 07, 2015 3:39 am
by Arcanor
Thanks so much Tony. I'll let you know if I have any problems with the beta.