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