Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started 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
-
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 :
- Float Interpolate
- Vector 3 Interpolate
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.