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