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