public void Test() { genomesString = MakeRandomGenes(4); sensationsString = GetSymptoms(genomesString); geneSystem.Apply(genomesString, sensationsString); attempt++; Debug.Log(attempt); }
void OnGUI() { { float x = 50; float y = 20; float width = 200; float height = 15; if (GUI.Button(new Rect(x, y, width, 20), "Apply")) { geneSystem.Apply(genomesString, sensationsString); } } var genes = geneSystem.Genes; DrawActiveGenomes(genes); DrawGenesToApply(genes, genomesString); DrawSenations(sensationsString); DrawGeneInfo(genes); }