Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: krakov73 on August 12, 2016, 06:46:20 AM
-
Hey there! has anyone managed to get the unity Gradient editor to show up in playmaker?
I've been trying to shoe horn what I found in this thread -http://forum.unity3d.com/threads/gradient-editor-for-the-custom-inspector-how.380392/ (http://forum.unity3d.com/threads/gradient-editor-for-the-custom-inspector-how.380392/)- into a custom action editor but the fight does not go well.
Gradients have show up in standard MonoBehaviours for a while now so I thought i'd ask because (if it wasn't obvious) using a gradient for a color lerp in a playmaker action would probably solve world hunger...or at least be super effective for color animation.
-
So its a maybe? heh
Well I can make it look like it works with the GradientWrapper scripts that are going around -
(https://s10.postimg.org/rkmn6hwut/nocigar.png) (https://postimg.org/image/rkmn6hwut/)
https://s10.postimg.org/vgzz2hhuh/nocigar.png (https://s10.postimg.org/vgzz2hhuh/nocigar.png)
Can't make the editor update the actions gradient variable correctly so still non functioning :)