// Start is called before the first frame update void Update() { if (GetComponent <universe_generator>().generated) { valid_objects = GameObject.FindGameObjectWithTag("valid_final_objects").GetComponent <ValidObjects>(); furthestGen = GetComponent <universe_generator>().furthestGen; GenerateSystem(); } }
// Start is called before the first frame update void Start() { valid_objects = GameObject.FindGameObjectWithTag("valid_generation_objects").GetComponent <ValidObjects>(); GenerateSystem(worldSize); }