Exemple #1
0
 new void Start()
 {
     base.Start();
     //
     //TEMPORARY RANDOM INTERVAL
     //
     scorpionStrike = gameObject.GetComponent <ScorpionStrike>();
     attackInterval = Random.Range(randomAttackTimerRange.x, randomAttackTimerRange.y);
 }
Exemple #2
0
 new void Start()
 {
     base.Start();
     playerPos = GameObject.FindGameObjectWithTag("Player").transform;
     //
     //TEMPORARY RANDOM INTERVAL
     //
     scorpionStrike = gameObject.GetComponent <ScorpionStrike>();
     attackInterval = Random.Range(randomAttackTimerRange.x, randomAttackTimerRange.y);
 }