Example #1
0
    IEnumerator WaitForDeath()
    {
        yield return(new WaitForSeconds(5f));

        GibMessage.Send();
        GameManager.Instance.RespawnAllowed = false;
        yield return(new WaitForSeconds(2f));

        //Restart Round:
        GameManager.Instance.RoundTime = 0f;
    }
Example #2
0
    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();
    }
Example #3
0
 private static void GibAll()
 {
     GibMessage.Send();
 }