예제 #1
0
        static int _s_set_curEventData(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                ZhuYuU3d.LuaSceneClick __cl_gen_to_be_invoked = (ZhuYuU3d.LuaSceneClick)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.curEventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
예제 #2
0
        static int _g_get_curEventData(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                ZhuYuU3d.LuaSceneClick __cl_gen_to_be_invoked = (ZhuYuU3d.LuaSceneClick)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.curEventData);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
예제 #3
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    ZhuYuU3d.LuaSceneClick __cl_gen_ret = new ZhuYuU3d.LuaSceneClick();
                    translator.Push(L, __cl_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 ZhuYuU3d.LuaSceneClick constructor!"));
        }
예제 #4
0
        static int _m_Init(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                ZhuYuU3d.LuaSceneClick __cl_gen_to_be_invoked = (ZhuYuU3d.LuaSceneClick)translator.FastGetCSObj(L, 1);



                {
                    __cl_gen_to_be_invoked.Init(  );



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