Beispiel #1
0
 void Start()
 {
     anim        = GetComponent <Animator>();
     boltcounter = FindObjectOfType <BoltCounter>();
     player      = FindObjectOfType <BoltyMovement>();
     anim.SetTrigger("LevelComplete");
     directionalArrow.SetActive(true);
 }
Beispiel #2
0
    IEnumerator Start()
    {
        boltCounter = FindObjectOfType <BoltCounter>();
        while (projectileCount > 0 && spawn)
        {
            yield return(new WaitForSeconds(Random.Range(minSpawnDelay, maxSpawnDelay)));

            Spawn();
        }
    }
Beispiel #3
0
 void Start()
 {
     boltcounter = FindObjectOfType <BoltCounter>();
     player      = FindObjectOfType <BoltyMovement>();
 }
Beispiel #4
0
 private void Start()
 {
     boltCounter = FindObjectOfType <BoltCounter>();
 }