static public int EvaluateAndApply(IntPtr l)
 {
     try {
         DG.Tweening.CustomPlugins.PureQuaternionPlugin self = (DG.Tweening.CustomPlugins.PureQuaternionPlugin)checkSelf(l);
         DG.Tweening.Plugins.Options.NoOptions          a1;
         checkValueType(l, 2, out a1);
         DG.Tweening.Tween a2;
         checkType(l, 3, out a2);
         System.Boolean a3;
         checkType(l, 4, out a3);
         DG.Tweening.Core.DOGetter <UnityEngine.Quaternion> a4;
         checkDelegate(l, 5, out a4);
         DG.Tweening.Core.DOSetter <UnityEngine.Quaternion> a5;
         checkDelegate(l, 6, out a5);
         System.Single a6;
         checkType(l, 7, out a6);
         UnityEngine.Quaternion a7;
         checkType(l, 8, out a7);
         UnityEngine.Quaternion a8;
         checkType(l, 9, out a8);
         System.Single a9;
         checkType(l, 10, out a9);
         System.Boolean a10;
         checkType(l, 11, out a10);
         DG.Tweening.Core.Enums.UpdateNotice a11;
         checkEnum(l, 12, out a11);
         self.EvaluateAndApply(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #2
0
 /// <summary>
 /// Plug this plugin inside a DOTween.To call.
 /// <para>Example:</para>
 /// <code>DOTween.To(PureQuaternionPlugin.Plug(), ()=> myQuaternionProperty, x=> myQuaternionProperty = x, myQuaternionEndValue, duration);</code>
 /// </summary>
 public static PureQuaternionPlugin Plug()
 {
     if (_plug == null)
     {
         _plug = new PureQuaternionPlugin();
     }
     return(_plug);
 }
 static public int constructor(IntPtr l)
 {
     try {
         DG.Tweening.CustomPlugins.PureQuaternionPlugin o;
         o = new DG.Tweening.CustomPlugins.PureQuaternionPlugin();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int SetChangeValue(IntPtr l)
 {
     try {
         DG.Tweening.CustomPlugins.PureQuaternionPlugin self = (DG.Tweening.CustomPlugins.PureQuaternionPlugin)checkSelf(l);
         DG.Tweening.Core.TweenerCore <UnityEngine.Quaternion, UnityEngine.Quaternion, DG.Tweening.Plugins.Options.NoOptions> a1;
         checkType(l, 2, out a1);
         self.SetChangeValue(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int ConvertToStartValue(IntPtr l)
 {
     try {
         DG.Tweening.CustomPlugins.PureQuaternionPlugin self = (DG.Tweening.CustomPlugins.PureQuaternionPlugin)checkSelf(l);
         DG.Tweening.Core.TweenerCore <UnityEngine.Quaternion, UnityEngine.Quaternion, DG.Tweening.Plugins.Options.NoOptions> a1;
         checkType(l, 2, out a1);
         UnityEngine.Quaternion a2;
         checkType(l, 3, out a2);
         var ret = self.ConvertToStartValue(a1, a2);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int GetSpeedBasedDuration(IntPtr l)
 {
     try {
         DG.Tweening.CustomPlugins.PureQuaternionPlugin self = (DG.Tweening.CustomPlugins.PureQuaternionPlugin)checkSelf(l);
         DG.Tweening.Plugins.Options.NoOptions          a1;
         checkValueType(l, 2, out a1);
         System.Single a2;
         checkType(l, 3, out a2);
         UnityEngine.Quaternion a3;
         checkType(l, 4, out a3);
         var ret = self.GetSpeedBasedDuration(a1, a2, a3);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }