IEnumerator WaitForDeath() { yield return(new WaitForSeconds(5f)); GibMessage.Send(); GameManager.Instance.RespawnAllowed = false; yield return(new WaitForSeconds(2f)); //Restart Round: GameManager.Instance.RoundTime = 0f; }
IEnumerator WaitForDeath() { yield return(WaitFor.Seconds(5f)); GibMessage.Send(); yield return(WaitFor.Seconds(2f)); PlayerList.Instance.ReportScores(); //Report scores for who won (Crew or Syndicate) yield return(WaitFor.Seconds(30f)); //Restart Round: GameManager.Instance.RestartRound(); }
private static void GibAll() { GibMessage.Send(); }