Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: weilies on February 15, 2015, 01:24:10 AM
-
Hi Gurus,
Kindly checkout the attached doc.
What's Object Type for "2D Sprite"?
I try to use set/get property but i can't find the suitable object type.
Could you give me some clue? i know there is possible to use 'Edit Script' to findout the object type but it's way too complex for me to understand NGUI package....
-
I managed to identify a matching object type.
But is there away to assign the variable (UnityEngine.Sprite) via string in Playmaker? How?
Currently i only know to use the browser to assign a value (but the value is always fixed)
How could i assign the variable dynamically? as different character selected it should reflect different sprite image on screen
-
First of all - you want to change Sprite in NGUI or Unity built-in sprite ?
For Ngui see the attachments in post.
Of course you can use something like this:
https://www.assetstore.unity3d.com/en/#!/content/17920
https://www.assetstore.unity3d.com/en/#!/content/10257