static int _m_BeginLoadScene(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); CutSceneManager gen_to_be_invoked = (CutSceneManager)translator.FastGetCSObj(L, 1); { string _sceneName = LuaAPI.lua_tostring(L, 2); System.Action _successCall = translator.GetDelegate <System.Action>(L, 3); System.Action <float> _progressChangeCall = translator.GetDelegate <System.Action <float> >(L, 4); gen_to_be_invoked.BeginLoadScene(_sceneName, _successCall, _progressChangeCall); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }