private void OpenDoor(ObstacleTowerAgent agent)
 {
     animator.Play(clips[0]);
     open = true;
     if (agent.denseReward)
     {
         agent.AddReward(0.1f);
     }
 }
 private void CloseDoor(ObstacleTowerAgent agent)
 {
     open = false;
     animator.Play(clips[1]);
     if (agent.denseReward)
     {
         agent.AddReward(-0.1f);
     }
 }