Esempio n. 1
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    PackSystem.DragUI gen_ret = new PackSystem.DragUI();
                    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 PackSystem.DragUI constructor!"));
        }
Esempio n. 2
0
        static int _m_HideDrag(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                PackSystem.DragUI gen_to_be_invoked = (PackSystem.DragUI)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.HideDrag(  );



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


                PackSystem.DragUI gen_to_be_invoked = (PackSystem.DragUI)translator.FastGetCSObj(L, 1);



                {
                    UnityEngine.Vector2 _position; translator.Get(L, 2, out _position);

                    gen_to_be_invoked.SetPosition(_position);



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