Page 1 of 1

about UIAnimationTransitions & UIShowHideController.

Posted: Thu May 03, 2018 6:24 am
by Canis
Hi, I just bought Dialogue system in this month.

it's a awesome system. one little thing bothering me, the

Code: Select all

UIAnimationTransitions
which contain the information to animate the UI by Animator.

I was develop another UGUI system for this feature,

may I ask if you guys plan to totally rewrite these classes in the future ? (like 0.5 ~ 1 year?)

because I'm looking for the way to implement my script or just simply rewrite the script file depend on developer's answer.

btw, if you can abstract that class and make the

Code: Select all

UnityUIDialogueUI
to support any class that inherit

Code: Select all

UIAnimationTransitions
type, that will be easier to extend the system.

Re: about UIAnimationTransitions & UIShowHideController.

Posted: Thu May 03, 2018 8:36 am
by Tony Li
Hi,

Thanks for using the Dialogue System!

Version 2.0, which is starting beta testing tomorrow, has a new StandardDialogueUI class. The UnityUIDialogueUI class will still be present and supported, but it won't be updated except for any bug fixes.

The StandardDialogueUI class offloads all of the UI display work to two separate classes: StandardUISubtitlePanel and StandardUIMenuPanel. This has turned out to be a very clean and flexible approach. Each character can point to their own panels (e.g., cartoon bubbles above their heads) or use/share a set of default panels.

StandardUISubtitlePanel and StandardUIMenuPanel are both subclasses of UIPanel, which handles animation. You can override the Open and Close methods, as well as new, optional Focus and Unfocus methods. And these methods also have corresponding UnityEvents so you can hook up additional behavior in the inspector (or in code via UnityEvent.AddListener). So I think you'll be able to use your other system with this if you want.

Re: about UIAnimationTransitions & UIShowHideController.

Posted: Thu May 03, 2018 12:54 pm
by Canis
Good to hear that, it sound like a better change.

thanks for reply.

Re: about UIAnimationTransitions & UIShowHideController.

Posted: Thu May 03, 2018 4:02 pm
by Tony Li
You're welcome. I'm excited about the change. It makes everything so much cleaner and simpler to set up.