Skip to content

Commit 8c214d8

Browse files
Chris Elionvincentpierre
authored andcommitted
Add Academy.AutomaticSteppingEnabled to migration (#3666)
1 parent 4bb1291 commit 8c214d8

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
@@ -34,6 +34,7 @@ The versions can be found in
3434
* The interface for SideChannels was changed:
3535
* In C#, `OnMessageReceived` now takes a `IncomingMessage` argument, and `QueueMessageToSend` takes an `OutgoingMessage` argument.
3636
* In python, `on_message_received` now takes a `IncomingMessage` argument, and `queue_message_to_send` takes an `OutgoingMessage` argument.
37+
* Automatic stepping for Academy is now controlled from the AutomaticSteppingEnabled property.
3738

3839
### Steps to Migrate
3940
* Add the `using MLAgents.Sensors;` in addition to `using MLAgents;` on top of your Agent's script.
@@ -50,6 +51,7 @@ The versions can be found in
5051
* `GiveModel()` to `SetModel()`
5152
* Replace `IFloatProperties` variables with `FloatPropertiesChannel` variables.
5253
* If you implemented custom `SideChannels`, update the signatures of your methods, and add your data to the `OutgoingMessage` or read it from the `IncomingMessage`.
54+
* Replace calls to Academy.EnableAutomaticStepping()/DisableAutomaticStepping() with Academy.AutomaticSteppingEnabled = true/false.
5355

5456
## Migrating from 0.13 to 0.14
5557

0 commit comments

Comments
 (0)