void Start() { _swarmFormation = FindObjectOfType <SwarmFormation>(); InvokeRepeating("FireOutFormation", Delay, FireRate); InvokeRepeating("FireInFormation", Delay * 2, FireRate); }
void Start() { _swarmFormation = FindObjectOfType<SwarmFormation>(); InvokeRepeating("FireOutFormation", Delay, FireRate); InvokeRepeating("FireInFormation", Delay * 2, FireRate); }