Ejemplo n.º 1
0
 public static bool sys_wait_voice(VNNeoController game, string param)
 {
     // wait voice of actor over: param = actorID
     // return True if voice is over or actor not found
     VNActor.Actor actor = game.GetActor(param);
     if (actor is VNActor.Actor act)
     {
         return(!act.IsVoicePlay);
     }
     else
     {
         return(true);
     }
 }
Ejemplo n.º 2
0
 public static bool sys_wait_anime(VNNeoController game, string param)
 {
     // wait anime of actor play once: param = actorID
     // return True if anime is over or actor not found
     VNActor.Actor actor = game.GetActor(param);
     if (actor is VNActor.Actor act)
     {
         return(act.IsAnimeOver);
     }
     else
     {
         return(true);
     }
 }