1234567891011121314151617181920212223242526 |
- using MLAgents;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
-
- public class CozmoAcademy : Academy
- {
- public GameObject cozmo;
- public Transform startPoint;
- //public bool testAcademyReset = false;
-
- public override void AcademyReset()
- {
- cozmo.transform.position = startPoint.position;
- cozmo.transform.rotation = startPoint.rotation;
- }
-
- //private void Update()
- //{
- // if (testAcademyReset)
- // {
- // AcademyReset();
- // testAcademyReset = !testAcademyReset;
- // }
- //}
- }
|