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


                CustomSceneManager gen_to_be_invoked = (CustomSceneManager)translator.FastGetCSObj(L, 1);



                {
                    string _sceneName = LuaAPI.lua_tostring(L, 2);

                    gen_to_be_invoked.LoadScene(_sceneName);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
 public void LoadSceneInstance(int i)
 {
     CustomSceneManager.LoadScene(i);
 }