CRESSim / data /Assets /Scripts /Learning /InEpisodeLogger.cs
introvoyz042's picture
Migrated from GitHub
41791c1 verified
Raw History Blame Contribute Delete
396 Bytes
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InEpisodeLogger : MonoBehaviour
{
void FixedUpdate()
{
if (m_agent.InEpisode)
{
Debug.Log("In episode");
}
else
{
Debug.Log("Not in episode");
}
}
[SerializeField]
private SuctionIrrigationAgentBase m_agent;
}