/// <summary> /// Adds the agent to the team if requested. /// </summary> private void Start() { if (m_AddToTeam) { TeamManager.AddTeamMember(gameObject, m_TeamIndex); } // Genetic Algorithm initialize evolver = GameObject.Find("Evolution Controller").GetComponent <EvolutionController>(); playerName = this.gameObject.name; phenoType = evolver.GetPhenoType(playerName); }