Exemple #1
0
    static int OnPan(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UIDragScrollView obj  = (UIDragScrollView)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIDragScrollView");
        Vector2          arg0 = LuaScriptMgr.GetVector2(L, 2);

        obj.OnPan(arg0);
        return(0);
    }
 static public int OnPan(IntPtr l)
 {
     try {
         UIDragScrollView    self = (UIDragScrollView)checkSelf(l);
         UnityEngine.Vector2 a1;
         checkType(l, 2, out a1);
         self.OnPan(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #3
0
 static int OnPan(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UIDragScrollView    obj  = (UIDragScrollView)ToLua.CheckObject <UIDragScrollView>(L, 1);
         UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2);
         obj.OnPan(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }