public bool accuse() { if (isTarget) { Debug.Log("accused, game success"); victoryComponent.Victory(); } else { Debug.Log("wring target, game over"); } return(isTarget); }
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); }