Example #1
0
        static int _m_UpdateFromRelations(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.GearXY gen_to_be_invoked = (FairyGUI.GearXY)translator.FastGetCSObj(L, 1);



                {
                    float _dx = (float)LuaAPI.lua_tonumber(L, 2);
                    float _dy = (float)LuaAPI.lua_tonumber(L, 3);

                    gen_to_be_invoked.UpdateFromRelations(
                        _dx,
                        _dy);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Example #2
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 2 && translator.Assignable <FairyGUI.GObject>(L, 2))
                {
                    FairyGUI.GObject _owner = (FairyGUI.GObject)translator.GetObject(L, 2, typeof(FairyGUI.GObject));

                    FairyGUI.GearXY gen_ret = new FairyGUI.GearXY(_owner);
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.GearXY constructor!"));
        }
Example #3
0
        static int _m_Apply(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.GearXY gen_to_be_invoked = (FairyGUI.GearXY)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.Apply(  );



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Example #4
0
        static int _m_OnTweenStart(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.GearXY gen_to_be_invoked = (FairyGUI.GearXY)translator.FastGetCSObj(L, 1);



                {
                    FairyGUI.GTweener _tweener = (FairyGUI.GTweener)translator.GetObject(L, 2, typeof(FairyGUI.GTweener));

                    gen_to_be_invoked.OnTweenStart(_tweener);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }