27 lines
593 B
C#
Raw Normal View History

2019-04-10 13:39:36 +02:00
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;
2019-05-23 15:28:26 +02:00
cozmo.transform.rotation = startPoint.rotation;
}
//private void Update()
//{
// if (testAcademyReset)
// {
// AcademyReset();
// testAcademyReset = !testAcademyReset;
// }
//}
2019-04-10 13:39:36 +02:00
}