playMaker

Author Topic: Changing gameobject alpha  (Read 183 times)

Jonesy81

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Changing gameobject alpha
« on: May 04, 2018, 12:26:18 PM »
Hi,

Is there a simple way to change a gameobject's alpha over time? Or change a sprite's alpha or UI text's alpha over time?

Or are these things something I have to code a function for?

There are some actions that seems like they would do the trick like color interpolate and animate color but I haven't got any of them working properly.

Maybe I've hooked them up wrong?

DanielThomas

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 80
    • View Profile
Re: Changing gameobject alpha
« Reply #1 on: May 04, 2018, 12:31:14 PM »
The ones on ecosystem worked for me, also dotween(if you have those).
Could you show how you set it up?

Jonesy81

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: Changing gameobject alpha
« Reply #2 on: May 04, 2018, 12:46:11 PM »
Thanks for answering and being so quick. :)

I tried many things and I'm fairly new to the program so I might be doing some stupid things. Íf you have a good solution that works in most cases, I would gladly hear and appreciate that.

I tried searching on ecosystem everything fade related but didn't see any other that u gui fade effect. Does that work on UI text?

Sprites are the main thing I'm worried about now, but I surely would like to learn how to do this to all of the different objects.

Also what is dotween?

Thanks!

EDIT: Okay thanks for that dotween hint. I downloaded Dotween free version and then bought the playmaker actions to that. I got fades working for sprites at least at this point. Here's hoping that there's an action for UI texts as well.

If anyone has experience with fading different objects in and out and want to chime in with the best practices I would be appreciative. Maybe this is one of the things that's best to do in code?
« Last Edit: May 05, 2018, 05:40:58 AM by Jonesy81 »