Exemplo n.º 1
0
 public override void Trigger()
 {
     if (cutscene != null)
     {
         cutscene.Stop();
     }
 }
Exemplo n.º 2
0
 private void OnDisable()
 {
     if (StartMethod == StartMethod.OnEnable)
     {
         hasTriggered = false;
         Cutscene.Stop();
     }
 }
 static public int Stop(IntPtr l)
 {
     try {
         CinemaDirector.Cutscene self = (CinemaDirector.Cutscene)checkSelf(l);
         self.Stop();
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int Stop(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         CinemaDirector.Cutscene obj = (CinemaDirector.Cutscene)ToLua.CheckObject <CinemaDirector.Cutscene>(L, 1);
         obj.Stop();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }