Author Topic: Trouble with UIPanel Transform Position  (Read 1406 times)

blitzer

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 52
    • View Profile
Trouble with UIPanel Transform Position
« on: March 26, 2014, 11:12:33 PM »
Hello everyone, I'm encountering a problem where a UIPanel is showing a very strange transform location, and I cannot change it.

In my case, I'm using Alpha Clipping, and its showing:
offset: 8596, 0.33...
center: -7895, -0.33....
size: 898 x 375
Transform position: -674, 0,0

It is also parented to a larger container (all anchor points are +/- 0). As mentioned above, I cannot change this location (although I think it used to be at -300-ish (which was still wrong) and by using the inspector and dragging it, it jumped to -700 and is now stuck there. I have also tried changing the position through script (nothing happens), although after the scene is running, I can successfully change it to anything I want.

I'm stumped as to what to do, this panel is throwing off every object inside it and causing a mess. Any ideas are appreciated.
« Last Edit: March 26, 2014, 11:50:23 PM by blitzer »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Trouble with UIPanel Transform Position
« Reply #1 on: March 27, 2014, 10:20:38 PM »
Current latest version of NGUI lets you change everything, even if you really shouldn't. When the panel is anchored, some things can't change in inspector.