Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: realblues on September 04, 2012, 03:14:23 AM

Title: Can i Change Sprite Depth in the Animation Panel?
Post by: realblues on September 04, 2012, 03:14:23 AM
Sometimes my Ui needs Change Depth while Animation.

but it's not visible UISprite.Depth variable in the Animation Panel. (it for designer)

is it possible?

thx.
Title: Re: Can i Change Sprite Depth in the Animation Panel?
Post by: ArenMook on September 04, 2012, 03:47:44 AM
You have to create an intermediate script for this. Something simple that has a public int value exposed, and inside its Update it adjusts the sprite's depth.