private void Awake() { _rainbowShooter = GetComponent <RainbowShooter>(); _rainbowShooter.enabled = false; _gameStateManager = FindObjectOfType <GameStateManager>(); _animator = GetComponentInChildren <Animator>(); }
private void Awake() { _laser = GetComponent <RainbowShooter>(); _audioSource = GetComponent <AudioSource>(); }