Skip to content

Commit e2f7566

Browse files
author
Chris Elion
authored
Add Academy.AutomaticSteppingEnabled to migration (#3666)
1 parent d98bd07 commit e2f7566

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/Migrating.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ The versions can be found in
4141
* The interface for SideChannels was changed:
4242
* In C#, `OnMessageReceived` now takes a `IncomingMessage` argument, and `QueueMessageToSend` takes an `OutgoingMessage` argument.
4343
* In python, `on_message_received` now takes a `IncomingMessage` argument, and `queue_message_to_send` takes an `OutgoingMessage` argument.
44+
* Automatic stepping for Academy is now controlled from the AutomaticSteppingEnabled property.
4445

4546
### Steps to Migrate
4647
* Add the `using MLAgents.Sensors;` in addition to `using MLAgents;` on top of your Agent's script.
@@ -57,6 +58,7 @@ The versions can be found in
5758
* `GiveModel()` to `SetModel()`
5859
* Replace `IFloatProperties` variables with `FloatPropertiesChannel` variables.
5960
* If you implemented custom `SideChannels`, update the signatures of your methods, and add your data to the `OutgoingMessage` or read it from the `IncomingMessage`.
61+
* Replace calls to Academy.EnableAutomaticStepping()/DisableAutomaticStepping() with Academy.AutomaticSteppingEnabled = true/false.
6062

6163
## Migrating from 0.13 to 0.14
6264

0 commit comments

Comments
 (0)