void Start()
 {
     _bm = GameObject.FindWithTag("boss").GetComponent <bossManager>();
 }
Exemple #2
0
 private void Start()
 {
     i = this;
     DontDestroyOnLoad(gameObject);
 }
Exemple #3
0
 void Start()
 {
     _rb = GetComponent <Rigidbody>();
     _bm = GameObject.FindWithTag("boss").GetComponent <bossManager>();
     Invoke("setStartCheck", 5f);
 }