예제 #1
0
 new void Start()
 {
     base.Start();
     //
     //TEMPORARY RANDOM INTERVAL
     //
     scorpionStrike = gameObject.GetComponent <ScorpionStrike>();
     attackInterval = Random.Range(randomAttackTimerRange.x, randomAttackTimerRange.y);
 }
예제 #2
0
파일: Snake.cs 프로젝트: sml5527/Hexshooter
 new void Start()
 {
     base.Start();
     playerPos = GameObject.FindGameObjectWithTag("Player").transform;
     //
     //TEMPORARY RANDOM INTERVAL
     //
     scorpionStrike = gameObject.GetComponent <ScorpionStrike>();
     attackInterval = Random.Range(randomAttackTimerRange.x, randomAttackTimerRange.y);
 }