Search Unity

Why is Academy.AgentSetStatus internal access?

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

  1. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    903
    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.