public override void OnEpisodeBegin() { if (m_Sensor == null) { m_Sensor = m_SensorComp.Sensor; m_Sensor.UpdateEvent += OnSensorUpdate; } ResetAgent(); m_Weapon.ResetStats(); EpisodeBeginEvent?.Invoke(this); }
/// <inheritdoc/> public override void OnEpisodeBegin() { EpisodeBeginEvent.Invoke(); }