<reponame>euWna/GG<filename>com.unity.ml-agents/Runtime/MultiAgentGroupIdCounter.csusing System.Threading;

namespace Unity.MLAgents
{
    internal static class MultiAgentGroupIdCounter
    {
        static int s_Counter;
        public static int GetGroupId()
        {
            return Interlocked.Increment(ref s_Counter);
        }
    }
}
