static int OnTweenComplete(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.Transition obj  = (FairyGUI.Transition)ToLua.CheckObject <FairyGUI.Transition>(L, 1);
         FairyGUI.GTweener   arg0 = (FairyGUI.GTweener)ToLua.CheckObject <FairyGUI.GTweener>(L, 2);
         obj.OnTweenComplete(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#2
0
        virtual public void Setup(Transition owner)
        {
            easeType            = Ease.OutQuad;
            delayedCallDelegate = () => { owner.OnDelayedCall(this); };

            if (tween)
            {
                tweenStartDelegate = () => { if (hook != null)
                                             {
                                                 hook();
                                             }
                };
                tweenUpdateDelegate   = () => { owner.ApplyValue(this, value); };
                tweenCompleteDelegate = () => { owner.OnTweenComplete(this); };
            }
        }