示例#1
0
 void Awake()
 {
     gameManager        = Camera.main.GetComponent <GameManager>();
     _progressBarAction = progressBar.GetComponent <ProgressBarAction>();
     _animator          = GetComponent <Animator>();
 }
示例#2
0
 void Awake()
 {
     _progressBarAction = progressBar.GetComponent <ProgressBarAction>();
     _animator          = GetComponent <Animator>();
 }