/* * set up wave manager, new wave every # of spawns, pause for 5 secs, have timer */ void Start() { camBounds = GetComponent <CamBounds> (); screenCords = new Vector3[16]; SetScreenCords(); for (int i = 0; i < enemyShipGO.Length; i++) { ObjectPool.instance.AddToPool(enemyShipGO [i], enemyPoolSize); } }
/* set up wave manager, new wave every # of spawns, pause for 5 secs, have timer */ void Start() { camBounds = GetComponent<CamBounds> (); screenCords = new Vector3[16]; SetScreenCords (); for (int i = 0; i < enemyShipGO.Length; i++) { ObjectPool.instance.AddToPool (enemyShipGO [i], enemyPoolSize); } }