Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: WabbysLand on June 05, 2018, 02:42:51 AM

Title: How to animate/add effect on UI elements (Canvas) ?
Post by: WabbysLand on June 05, 2018, 02:42:51 AM
Hello,

What is the best way to animate canvas element (like panels, images, buttons… canvas in "screen space" render mode) with Playmaker and Unity, in general?

I would like to add some fade in/out effect playing with the position, scale or the alpha channel of these elements. It would nice to use iTween too :-)

I'm using Unity 2018/Plamaker 1.9
Title: Re: How to animate/add effect on UI elements (Canvas) ?
Post by: djaydino on June 05, 2018, 12:13:07 PM
Hi,
It depends on what kind of animations you would want to do,
But i prefer to use the animator.

Itween is outdated but there are other tween assets (dotween for example)
and there are some standard actions like for example :

For Example you could use a 'Float Interpolate' in combination with 'Ui Graphic Set Color' and set the float variable to the alpha to fade.