예제 #1
0
        public override void OnEpisodeBegin()
        {
            if (m_Sensor == null)
            {
                m_Sensor              = m_SensorComp.Sensor;
                m_Sensor.UpdateEvent += OnSensorUpdate;
            }

            ResetAgent();
            m_Weapon.ResetStats();
            EpisodeBeginEvent?.Invoke(this);
        }
예제 #2
0
 /// <inheritdoc/>
 public override void OnEpisodeBegin()
 {
     EpisodeBeginEvent.Invoke();
 }