// Start is called before the first frame update void Start() { Targets = Gb.GetBuildings(); SpawnLeftLimit = new Vector2(Gb.GetLeftLimit().x, transform.position.y); SpawnRightLimit = new Vector2(Gb.GetRightLimit().x, transform.position.y); index = 0; ST = GetComponent <SpawnMeteorTrajectory>(); }
void Start() { Particles = GetComponentsInChildren <ParticleSystem>().ToList(); SMT = GetComponentInParent <SpawnMeteorTrajectory>(); }