You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CozmoAcademy.cs 537B

12345678910111213141516171819202122232425
  1. using MLAgents;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. public class CozmoAcademy : Academy
  6. {
  7. public GameObject cozmo;
  8. public Transform startPoint;
  9. //public bool testAcademyReset = false;
  10. public override void AcademyReset()
  11. {
  12. cozmo.transform.position = startPoint.position;
  13. }
  14. //private void Update()
  15. //{
  16. // if (testAcademyReset)
  17. // {
  18. // AcademyReset();
  19. // testAcademyReset = !testAcademyReset;
  20. // }
  21. //}
  22. }