-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renaming Agent's methods #3557
Renaming Agent's methods #3557
Conversation
WARNING, the user when implementing obsolete methods will see the message :Member `old method` overrides obsolete member `old method`. Add the Obsolete attribute to `old method`. It will not suggest the new method to override.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks pretty good overall.
Please read the context around the doc changes instead of just doing a find-and-replace; I flagged some things but it could use another pair of eyes on it too.
is it possible to leverage this. I think it would make our users' lives easier if we could. |
Co-Authored-By: Chris Elion <chris.elion@unity3d.com>
Co-Authored-By: Chris Elion <chris.elion@unity3d.com>
Co-Authored-By: Chris Elion <chris.elion@unity3d.com>
…ologies/ml-agents into develop-renaming-001
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a typo, but otherwise looks good.
All right, I will wait for another approval since this is a rather controversial PR. |
Proposed change(s)
Agent
class were renamed:InitializeAgent()
was renamed toInitialize()
AgentAction()
was renamed toOnActionReceived()
AgentReset()
was renamed toOnEpsiodeBegin()
Done()
was renamed toEndEpisode()
GiveModel()
was renamed toSetModel()
Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)
Renaming sheet
Types of change(s)
[ ] Bug fix[ ] New feature[ ] Other (please describe)Checklist
[ ] Added tests that prove my fix is effective or that my feature worksOther comments