rotation() public method

rotation tween as Quaternion
public rotation ( Quaternion endValue, bool isRelative = false ) : GoTweenConfig,
endValue Quaternion
isRelative bool
return GoTweenConfig,
コード例 #1
0
 static public int rotation(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(UnityEngine.Quaternion), typeof(bool)))
         {
             GoTweenConfig          self = (GoTweenConfig)checkSelf(l);
             UnityEngine.Quaternion a1;
             checkType(l, 2, out a1);
             System.Boolean a2;
             checkType(l, 3, out a2);
             var ret = self.rotation(a1, a2);
             pushValue(l, ret);
             return(1);
         }
         else if (matchType(l, argc, 2, typeof(UnityEngine.Vector3), typeof(bool)))
         {
             GoTweenConfig       self = (GoTweenConfig)checkSelf(l);
             UnityEngine.Vector3 a1;
             checkType(l, 2, out a1);
             System.Boolean a2;
             checkType(l, 3, out a2);
             var ret = self.rotation(a1, a2);
             pushValue(l, ret);
             return(1);
         }
         return(error(l, "No matched override function to call"));
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }