Author Topic: Why is it not allowed to add UIPanel and UIWidget on the same GameObject?  (Read 3287 times)

rocman

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 4
    • View Profile
It's useful to do this sometimes.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Because both derive from UIRect which is used for anchoring - having both, will make it ambiguous which is used.