Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: rocman on May 27, 2014, 09:49:26 PM

Title: Why is it not allowed to add UIPanel and UIWidget on the same GameObject?
Post by: rocman on May 27, 2014, 09:49:26 PM
It's useful to do this sometimes.
Title: Re: Why is it not allowed to add UIPanel and UIWidget on the same GameObject?
Post by: Nicki on May 28, 2014, 04:00:01 AM
Because both derive from UIRect which is used for anchoring - having both, will make it ambiguous which is used.