playMaker

Author Topic: Set NGUI sprite Property in Playmaker  (Read 1315 times)

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Set NGUI sprite Property in Playmaker
« on: October 17, 2015, 11:49:19 AM »
I realize when i change a NGUI sprite via Set Property command in PM, the ratio of the sprite is following the previous sprite.
E.g i am showing a gameObject 'Fat lady', i need the image to be change to 'thin tall guy' in PM set property action. but i realize once the image changed, it show the thin guy image but the width & height followed the 'fat lady' and causing the image stretched and ugly.

I know we can click on 'snap' in the component but how to simulate the 'snap' click in PM?

Thanks for giving some pointer