Skip to content

Commit

Permalink
Fix xml docs. (#5057)
Browse files Browse the repository at this point in the history
  • Loading branch information
surfnerd authored Mar 9, 2021
1 parent 7862a29 commit 5b8cbd2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,15 @@ public class BehaviorParameters : MonoBehaviour
[HideInInspector, SerializeField]
BrainParameters m_BrainParameters = new BrainParameters();

/// <summary>
/// Delegate for receiving events about Policy Updates.
/// </summary>
/// <param name="isInHeuristicMode">Whether or not the current policy is running in heuristic mode.</param>
public delegate void PolicyUpdated(bool isInHeuristicMode);

/// <summary>
/// Event that fires when an Agent's policy is updated.
/// </summary>
internal event PolicyUpdated OnPolicyUpdated;

/// <summary>
Expand Down

0 comments on commit 5b8cbd2

Please sign in to comment.