about UIAnimationTransitions & UIShowHideController.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Canis
Posts: 2
Joined: Thu May 03, 2018 5:42 am

about UIAnimationTransitions & UIShowHideController.

Post 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.
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: about UIAnimationTransitions & UIShowHideController.

Post 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.
Canis
Posts: 2
Joined: Thu May 03, 2018 5:42 am

Re: about UIAnimationTransitions & UIShowHideController.

Post by Canis »

Good to hear that, it sound like a better change.

thanks for reply.
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: about UIAnimationTransitions & UIShowHideController.

Post by Tony Li »

You're welcome. I'm excited about the change. It makes everything so much cleaner and simpler to set up.
Post Reply