/* * * * * * * * * * * * * * * * * * DATA TO TRACK * * * * * * * * * * * * * * * * * * winner * NN_averagePoints * AI_averagePoints * NN_totalPoints * AI_totalPoints * * * * * * * * * * * * * * * * * * tyoe * points * player * * * * * * * * * * * * * * * * * */ /// <summary> /// Intiialize the critical variables for the class. /// </summary> void Awake() { Application.targetFrameRate = 60; Time.timeScale = 1; _units = new List <Unit>(ConstHolder.MAX_AGENTS); _regions = new Dictionary <RegionOrder, Region>(); _particles = new List <ParticleSystem>(ConstHolder.MAX_AGENTS); _camera = Camera.main.GetComponent <CameraLogic>(); _evolutionManager = GetComponent <EvolutionManager>(); _testsRan = 0; _checkForTransition = false; _transitionPanel.Initialize(); }
/// <summary> /// Initialize when created /// </summary> void Awake() { _checkForTransition = false; _transitionPanel.Initialize(); }