static int PlayCutscene(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); LuaFramework.CutsceneManager obj = (LuaFramework.CutsceneManager)ToLua.CheckObject <LuaFramework.CutsceneManager>(L, 1); CinemaDirector.Cutscene arg0 = (CinemaDirector.Cutscene)ToLua.CheckObject <CinemaDirector.Cutscene>(L, 2); obj.PlayCutscene(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }