void Awake() { gameManager = Camera.main.GetComponent <GameManager>(); _progressBarAction = progressBar.GetComponent <ProgressBarAction>(); _animator = GetComponent <Animator>(); }
void Awake() { _progressBarAction = progressBar.GetComponent <ProgressBarAction>(); _animator = GetComponent <Animator>(); }