Ejemplo n.º 1
0
        static int _m_Float_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



                {
                    float _from     = (float)LuaAPI.lua_tonumber(L, 1);
                    float _to       = (float)LuaAPI.lua_tonumber(L, 2);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.TweenCallback <float> _onVirtualUpdate = translator.GetDelegate <DG.Tweening.TweenCallback <float> >(L, 4);

                    DG.Tweening.Tweener gen_ret = DG.Tweening.DOVirtual.Float(_from, _to, _duration, _onVirtualUpdate);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Ejemplo n.º 2
0
        static int _m_OnUpdate(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DG.Tweening.TweenParams gen_to_be_invoked = (DG.Tweening.TweenParams)translator.FastGetCSObj(L, 1);



                {
                    DG.Tweening.TweenCallback _action = translator.GetDelegate <DG.Tweening.TweenCallback>(L, 2);

                    DG.Tweening.TweenParams gen_ret = gen_to_be_invoked.OnUpdate(_action);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Ejemplo n.º 3
0
 public DG.Tweening.Sequence InsertCallback(float arg1, DG.Tweening.TweenCallback arg2)
 {
     return(default(DG.Tweening.Sequence));
 }
Ejemplo n.º 4
0
 public DG.Tweening.Sequence PrependCallback(DG.Tweening.TweenCallback arg1)
 {
     return(default(DG.Tweening.Sequence));
 }
Ejemplo n.º 5
0
 public DG.Tweening.Tween OnWaypointChange(DG.Tweening.TweenCallback <int> arg1)
 {
     return(default(DG.Tweening.Tween));
 }
Ejemplo n.º 6
0
 public DG.Tweening.Tween OnPause(DG.Tweening.TweenCallback arg1)
 {
     return(default(DG.Tweening.Tween));
 }
Ejemplo n.º 7
0
 public DG.Tweening.Tween OnComplete(DG.Tweening.TweenCallback arg1)
 {
     return(default(DG.Tweening.Tween));
 }
Ejemplo n.º 8
0
 public DG.Tweening.Tween OnRewind(DG.Tweening.TweenCallback arg1)
 {
     return(default(DG.Tweening.Tween));
 }
Ejemplo n.º 9
0
 public static DG.Tweening.Tween OnComplete(this DG.Tweening.Tween t, DG.Tweening.TweenCallback action)
 {
     return(DG.Tweening.TweenSettingsExtensions.OnComplete <DG.Tweening.Tween> (t, action));
 }
Ejemplo n.º 10
0
 public static DG.Tweening.Sequence OnComplete(this DG.Tweening.Sequence seq, DG.Tweening.TweenCallback action)
 {
     return(DG.Tweening.TweenSettingsExtensions.OnComplete <DG.Tweening.Sequence> (seq, action));
 }
Ejemplo n.º 11
0
 public void AnimPlay(bool isBase, DG.Tweening.TweenCallback callback = null)
 {
     base.MenuPlay(MenuDictionary, isBase, callback);
 }