void Pick(ShootController s) { if (canPlay) { current = Instantiate(bulletPrefab, this.transform); current.GetComponent <ShootController>().SetColor(); } // bullets.RemoveAt(0); }
void Pick(ShootController s) { if (canPlay) { current = Instantiate(bulletPrefab, this.transform); current.GetComponent <ShootController>().SetColor(); } // bullets.RemoveAt(0); }