Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Why is Academy.AgentSetStatus internal access?

Discussion in 'ML-Agents' started by Claytonious, Apr 25, 2020.

  1. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    904
    If we want to create a custom version of DecisionRequester of our own, for example, we cannot do it, because AgentSetStatus is marked as internal. Why is that?

    (In this case, I need to make decisions less often than every 20 steps).
     
  2. vincentpierre

    vincentpierre

    Joined:
    May 5, 2017
    Posts:
    160
    Hi,

    You are right. As the decision requester is still kind of new, we made it internal to make sure it fits our use cases. In the next release, the DecisionRequester will be public and AgentSetStatus will be renamed to AgentPreStep and be made public as well. These changes are already effective on master.
     
    Claytonious likes this.