Author Topic: Sprite draws issue  (Read 3056 times)

afrokick

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 6
    • View Profile
Sprite draws issue
« on: February 18, 2015, 05:24:45 AM »
Hi! I attached screenshot with two circles: a sprite render on an error position(upper) and current sprite position(bottom). If I re-enable UISprite, issue disappears.

I use this method for change object's visibility.

NguiUtils.SetVisibile(NDATA plugin) with code

  1.         foreach (var w in transform.GetComponents<UIWidget>())
  2.         {
  3.             w.enabled = visible;
  4.         }

Ps sorry for my bad English. :-[