⏩Canvas Transitions

UICanvasController can have component that implements ICanvasTransition interface and will handle transitions on canvas enable or disable.

How to use?

Simply add implemented component near UICanvasController (or it's inheritance) in the inspector. It should looks like this:

Added UICanvasController Transition example

That's all. Transition is called automaticaly on EnableCanvas() function of UICanvasController.

Custom Transitions

If you need custom transitions -> feel free to implement ICanvasTransition interface and add final implementation as described above.

You can reference to CanvasGroupAplhaTransition.cs and CanvasMovableTransition.cs implementations before writing your own.

Last updated