using System.Collections.Generic; using Unity.MLAgents; using Unity.MLAgents.Extensions.Teams; using Unity.MLAgents.Sensors; public class HallwayTeamManager : BaseTeamManager { List m_AgentList = new List { }; public override void RegisterAgent(Agent agent) { m_AgentList.Add(agent); } public override void OnAgentDone(Agent agent, Agent.DoneReason doneReason, List sensors) { agent.SendDoneToTrainer(); } public override void AddTeamReward(float reward) { } }