Ejemplo n.º 1
0
        public void SetParentUIE(IUIElement newParentUIE, bool worldPositionStays)
        {
            IUIAdaptor newParentUIA    = newParentUIE.GetUIAdaptor();
            Transform  parentTransform = newParentUIA.GetTransform();

            this.transform.SetParent(parentTransform, worldPositionStays);

            newParentUIA.UpdateUIAdaptorHiearchy(true);
        }
Ejemplo n.º 2
0
 public void SetParentUIA(IUIAdaptor parentUIA, bool worldPositionStays)
 {
     this.transform.SetParent(parentUIA.GetTransform(), worldPositionStays);
 }