public void PointMutate(float randomStepAmount) { //randomly updates a connections weight if (genom.GetConnectionGenesLength() <= 0) { return; } int ranIndex = Random.Range(0, genom.GetConnectionGenesLength() - 1); genom.ChangeConnectionGeneWeight(ranIndex, Random.Range(-randomStepAmount, randomStepAmount)); }