diff --git a/com.unity.ml-agents/Runtime/IMultiAgentGroup.cs b/com.unity.ml-agents/Runtime/IMultiAgentGroup.cs index 5459d4bfb4..0dcdd0a5af 100644 --- a/com.unity.ml-agents/Runtime/IMultiAgentGroup.cs +++ b/com.unity.ml-agents/Runtime/IMultiAgentGroup.cs @@ -16,11 +16,13 @@ public interface IMultiAgentGroup /// /// Register agent to the MultiAgentGroup. /// + /// The Agent to register. void RegisterAgent(Agent agent); /// /// Unregister agent from the MultiAgentGroup. /// + /// The Agent to unregister. void UnregisterAgent(Agent agent); } } diff --git a/com.unity.ml-agents/Runtime/Sensors/BufferSensor.cs b/com.unity.ml-agents/Runtime/Sensors/BufferSensor.cs index c7ace07a6a..865c00233a 100644 --- a/com.unity.ml-agents/Runtime/Sensors/BufferSensor.cs +++ b/com.unity.ml-agents/Runtime/Sensors/BufferSensor.cs @@ -16,6 +16,13 @@ public class BufferSensor : ISensor, IDimensionPropertiesSensor, IBuiltInSensor DimensionProperty.VariableSize, DimensionProperty.None }; + + /// + /// Creates the BufferSensor. + /// + /// The maximum number of observations to be appended to this BufferSensor. + /// The size of each observation appended to the BufferSensor. + /// The name of the sensor. public BufferSensor(int maxNumberObs, int obsSize, string name) { m_Name = name; diff --git a/com.unity.ml-agents/Runtime/SimpleMultiAgentGroup.cs b/com.unity.ml-agents/Runtime/SimpleMultiAgentGroup.cs index 226bbbdb6d..4398918f4f 100644 --- a/com.unity.ml-agents/Runtime/SimpleMultiAgentGroup.cs +++ b/com.unity.ml-agents/Runtime/SimpleMultiAgentGroup.cs @@ -12,7 +12,9 @@ public class SimpleMultiAgentGroup : IMultiAgentGroup, IDisposable readonly int m_Id = MultiAgentGroupIdCounter.GetGroupId(); HashSet m_Agents = new HashSet(); - + /// + /// Disposes of the SimpleMultiAgentGroup. + /// public virtual void Dispose() { while (m_Agents.Count > 0)