/// <summary> /// Pause the given Cutscene. /// </summary> public override void Trigger() { if (cutscene != null) { cutscene.Pause(); } }
static public int Pause(IntPtr l) { try { CinemaDirector.Cutscene self = (CinemaDirector.Cutscene)checkSelf(l); self.Pause(); return(0); } catch (Exception e) { return(error(l, e)); } }
static int Pause(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); CinemaDirector.Cutscene obj = (CinemaDirector.Cutscene)ToLua.CheckObject <CinemaDirector.Cutscene>(L, 1); obj.Pause(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }