예제 #1
0
 private void Awake()
 {
     brainNN_compML           = FindObjectOfType <BrainNN_CompML>();
     scoreCalculator          = FindObjectOfType <ScoreCalculator>();
     gamePopulationController = FindObjectOfType <GamePopulationController>();
     DNALength = gamePopulationController.ElementsCompositions.Count * NumberOfgenes;
 }
예제 #2
0
 private void Awake()
 {
     collectdatarendertexture = FindObjectOfType <CollectDataRenderTexture>();
     scoreCalculator          = FindObjectOfType <ScoreCalculator>();
     populationmanager        = FindObjectOfType <PopulationManager>();
     gamePopulationController = FindObjectOfType <GamePopulationController>();
 }
 private void Awake()
 {
     gamePopulationController = FindObjectOfType <GamePopulationController>();
 }