コード例 #1
0
 /// <summary>
 /// Pause the given Cutscene.
 /// </summary>
 public override void Trigger()
 {
     if (cutscene != null)
     {
         cutscene.Pause();
     }
 }
コード例 #2
0
 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));
     }
 }
コード例 #3
0
 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));
     }
 }