OnOwnerSizeChanged() public method

public OnOwnerSizeChanged ( float dWidth, float dHeight ) : void
dWidth float
dHeight float
return void
コード例 #1
0
 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));
     }
 }
コード例 #2
0
 static int OnOwnerSizeChanged(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         FairyGUI.Relations obj = (FairyGUI.Relations)ToLua.CheckObject(L, 1, typeof(FairyGUI.Relations));
         float arg0             = (float)LuaDLL.luaL_checknumber(L, 2);
         float arg1             = (float)LuaDLL.luaL_checknumber(L, 3);
         obj.OnOwnerSizeChanged(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }