Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Tricky_Widget on February 03, 2015, 09:07:37 PM
-
I have a 2D project and I need to set the opacity of a sprite. I've looked and looked, but everything I can find only seems to apply to 3D objects. Does anyone know how to do this with 2D sprites?
Thanks!
-
yes, it's simple,
drag and drop your sprite into your action panel to get set property of this object
and then use color > a for alpha modifications
you may also use material > color > a
or shared material if you need this applied to all instances of the object
-
drag and drop your sprite into your action panel to get set property of this object and then use color > a for alpha modifications
Thank you for the reply! Unfortunately, I'm not following you. I can drag the sprite in and insert the get or set properties actions, but I don't see any properties having to do with color. Attached are what I do see.
Could you elaborate? Thanks!
-
Ah ha! It's not the sprite I need to get the properties of, but the SpriteRenderer component of the sprite. That has the Color > A which does indeed change the opacity.
Thank you very much!