using System.Collections.Generic; using UnityEngine; using MLAgents; public class ReacherDecision : Decision { public override float[] Decide(List state, List observation, float reward, bool done, List memory) { var action = new float[4]; for (var i = 0; i < 4; i++) { action[i] = Random.Range(-1f, 1f); } return action; } public override List MakeMemory(List state, List observation, float reward, bool done, List memory) { return new List(); } }