Exemplo n.º 1
0
 void Start()
 {
     _swarmFormation = FindObjectOfType <SwarmFormation>();
     InvokeRepeating("FireOutFormation", Delay, FireRate);
     InvokeRepeating("FireInFormation", Delay * 2, FireRate);
 }
Exemplo n.º 2
0
 void Start()
 {
     _swarmFormation = FindObjectOfType<SwarmFormation>();
     InvokeRepeating("FireOutFormation", Delay, FireRate);
     InvokeRepeating("FireInFormation", Delay * 2, FireRate);
 }