Beispiel #1
0
 private void Start()
 {
     groundDangerFollower = gameObject.GetComponent <GroundDangerSpawner_Follow>();
     groundDangerRandom   = gameObject.GetComponent <GroundDangerSpawner_Random>();
     adds       = gameObject.GetComponent <AddSpawner>();
     bulletHell = gameObject.GetComponent <BulletHellSpawner>();
     translator = gameObject.GetComponent <BounceTranslate>();
     health     = gameObject.GetComponent <Health>();
     EnterWaiting();
 }
Beispiel #2
0
 private void Start()
 {
     groundDangerRandom = gameObject.GetComponent <GroundDangerSpawner_Random>();
     adds        = gameObject.GetComponent <AddSpawner>();
     bulletHell  = gameObject.GetComponent <BulletHellSpawner>();
     health      = gameObject.GetComponent <Health>();
     agent       = gameObject.GetComponent <NavMeshAgent>();
     agent.speed = movespeed[0];
     player      = GameObject.FindWithTag("Player");
     EnterMoveToPosition();
 }