예제 #1
0
 private void Start()
 {
     GM    = FindObjectOfType <GameManager>();
     am    = GameObject.Find("AudioManager").GetComponent <AudioManager>();
     RSG   = FindObjectOfType <ReadySetGo>();
     Power = Powerups.None;
     UpdateHat();
 }
예제 #2
0
        private void Start()
        {
            Pickup = FindObjectOfType <Pickupspawning>();

            TargetRounds = PlayerPrefs.GetInt("Rounds");

            PlayerPrefs.SetInt("P1-Rounds", 0);
            PlayerPrefs.SetInt("P2-Rounds", 0);

            EndScreenButton.enabled = false;

            RSG = FindObjectOfType <ReadySetGo>();
        }