示例#1
0
 static public int FlyTo(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 1)
         {
             UnityEngine.UI.Graphic self = (UnityEngine.UI.Graphic)checkSelf(l);
             self.FlyTo();
             pushValue(l, true);
             return(1);
         }
         else if (argc == 3)
         {
             UnityEngine.UI.Graphic self = (UnityEngine.UI.Graphic)checkSelf(l);
             System.Single          a2;
             checkType(l, 2, out a2);
             System.Single a3;
             checkType(l, 3, out a3);
             self.FlyTo(a2, a3);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function FlyTo to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }