void Populate(int numToSpawn) { for (int i = 0; i < numToSpawn; i++) { hf.SpawnHost(Random.insideUnitCircle * gameObject.transform.localScale.x * 0.5f); } }
// Spawn potentially mutated copy of host // Requires 2 parents // Call on collision with same species void Reproduce(Host parent1, Host parent2) { hf.SpawnHost(transform.position, parent1, parent2); }