Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: phannDOTde on November 20, 2013, 10:18:54 PM
-
Hey there,
is there any way to switch a 2D Sprites Texture in Unity 4.3 at the moment (or comming up soon)?
Greets
Peter
-
Hi,
Yes, totally, you simply set a different sprite in the SpriteRenderer Component, that's all there is to it.
You can do that in unity by using "Set Property" action ( drag the spriteRenderer onto the state action stack and select "set property", locate the "sprite/sprite" property and select the sprite asset you want to switch to.
bye,
Jean
-
Thanks alot! I just where always drag&dropping the object from the Hierachyview, didnt know i couldt get/set single components of an object, awsome :-)