예제 #1
0
 public bool accuse()
 {
     if (isTarget)
     {
         Debug.Log("accused, game success");
         victoryComponent.Victory();
     }
     else
     {
         Debug.Log("wring target, game over");
     }
     return(isTarget);
 }
예제 #2
0
 public bool accuse()
 {
     if (isTarget)
     {
         Debug.Log("accused, game success");
         victoryComponent.Victory();
     }
     else
     {
         Debug.Log("wrong target, game over");
         dialogue.CaughtDialogue(caller_id);
         AccuseSFX.Play();
     }
     return(isTarget);
 }