FairyGUI.Relations.OnOwnerSizeChanged C# (CSharp) Method

OnOwnerSizeChanged() public method

public OnOwnerSizeChanged ( float dWidth, float dHeight ) : void
dWidth float
dHeight float
return void
        public void OnOwnerSizeChanged(float dWidth, float dHeight)
        {
            int cnt = _items.Count;
            if (cnt == 0)
                return;

            for (int i = 0; i < cnt; i++)
                _items[i].ApplyOnSelfSizeChanged(dWidth, dHeight);
        }

Usage Example

 static public int OnOwnerSizeChanged(IntPtr l)
 {
     try {
         FairyGUI.Relations self = (FairyGUI.Relations)checkSelf(l);
         System.Single      a1;
         checkType(l, 2, out a1);
         System.Single a2;
         checkType(l, 3, out a2);
         self.OnOwnerSizeChanged(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.Relations::OnOwnerSizeChanged