コード例 #1
0
 static public int DOShakeRotation_s(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 1, typeof(System.Object), typeof(float), typeof(float), typeof(int), typeof(float)))
         {
             System.Object a1;
             checkType(l, 1, out a1);
             System.Single a2;
             checkType(l, 2, out a2);
             System.Single a3;
             checkType(l, 3, out a3);
             System.Int32 a4;
             checkType(l, 4, out a4);
             System.Single a5;
             checkType(l, 5, out a5);
             var ret = StaticDOTween.DOShakeRotation(a1, a2, a3, a4, a5);
             pushValue(l, true);
             pushValue(l, ret);
             return(2);
         }
         else if (matchType(l, argc, 1, typeof(System.Object), typeof(float), typeof(UnityEngine.Vector3), typeof(int), typeof(float)))
         {
             System.Object a1;
             checkType(l, 1, out a1);
             System.Single a2;
             checkType(l, 2, out a2);
             UnityEngine.Vector3 a3;
             checkType(l, 3, out a3);
             System.Int32 a4;
             checkType(l, 4, out a4);
             System.Single a5;
             checkType(l, 5, out a5);
             var ret = StaticDOTween.DOShakeRotation(a1, a2, a3, a4, a5);
             pushValue(l, true);
             pushValue(l, ret);
             return(2);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function DOShakeRotation to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }