Example #1
0
 public void ChoosePacman()
 {
     PlayerOnline[] Player = FindObjectsOfType <PlayerOnline>();
     foreach (PlayerOnline player in Player)
     {
         player.SpawnPacman();
     }
     ChooseCharacter.SetActive(false);
     GhostError.SetActive(false);
     Spectator.SetActive(false);
 }
Example #2
0
    public void Spectate()
    {
        PlayerOnline Player = FindObjectOfType <PlayerOnline>();

        Player.Spectate();
        ChooseCharacter.SetActive(false);
        GhostError.SetActive(false);
        ColorGhostError.SetActive(false);
        Spectator.SetActive(false);
        SpectateButton.SetActive(false);
    }
Example #3
0
 public void GhostLocked()
 {
     GhostError.SetActive(true);
 }