コード例 #1
0
 /// Uses the communicator to retrieve the actions, memories and values and
 ///  sends them to the agents
 public void DecideAction()
 {
     if (coord != null)
     {
         brain.SendActions(coord.GetDecidedAction(brain.gameObject.name));
         brain.SendMemories(coord.GetMemories(brain.gameObject.name));
         brain.SendValues(coord.GetValues(brain.gameObject.name));
     }
 }