IEnumerator WaitForDeath() { yield return(WaitFor.Seconds(5f)); GibMessage.Send(); yield return(WaitFor.Seconds(15f)); // Trigger end of round GameManager.Instance.EndRound(); }
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(); }
IEnumerator WaitForDeath() { yield return(new WaitForSeconds(5f)); GibMessage.Send(); GameManager.Instance.RespawnAllowed = false; yield return(new WaitForSeconds(2f)); //Restart Round: GameManager.Instance.RoundTime = 0f; }
private static void GibAll() { GibMessage.Send(); }