public Creature SpawnIn(Bounds bounds, int generation) { Brain = new NeuralNetwork.NeuralNetwork(LearningFactor, 4, HiddenLayerCount, 2); name = "Create [" + generation + "]"; Generation = generation; transform.SetParent(GameObject.Find("Population").transform, true); Bounds = bounds; Init(); transform.position = new Vector2(Random.Range(Bounds.min.x, Bounds.max.x), Random.Range(Bounds.min.y, Bounds.max.y)); return this; }