private void Start() { GM = FindObjectOfType <GameManager>(); am = GameObject.Find("AudioManager").GetComponent <AudioManager>(); RSG = FindObjectOfType <ReadySetGo>(); Power = Powerups.None; UpdateHat(); }
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>(); }