ApplyContentScaleFactor() public method

This is called after screen size changed.
public ApplyContentScaleFactor ( ) : void
return void
Exemplo n.º 1
0
 static public int ApplyContentScaleFactor(IntPtr l)
 {
     try {
         FairyGUI.GRoot self = (FairyGUI.GRoot)checkSelf(l);
         self.ApplyContentScaleFactor();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 2
0
 static int ApplyContentScaleFactor(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.CheckObject(L, 1, typeof(FairyGUI.GRoot));
         obj.ApplyContentScaleFactor();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }