GetTopWindow() public method

Get window on top.
public GetTopWindow ( ) : Window
return Window
Esempio n. 1
0
 static public int GetTopWindow(IntPtr l)
 {
     try {
         FairyGUI.GRoot self = (FairyGUI.GRoot)checkSelf(l);
         var            ret  = self.GetTopWindow();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 2
0
 static int GetTopWindow(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.GRoot  obj = (FairyGUI.GRoot)ToLua.CheckObject(L, 1, typeof(FairyGUI.GRoot));
         FairyGUI.Window o   = obj.GetTopWindow();
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }