浏览代码

[docs] Add more context for interacting with an environment. (#3938)

/docs-update
GitHub 5 年前
当前提交
e449d1a7
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      docs/Python-API.md

7
docs/Python-API.md


```python
from mlagents_envs.environment import UnityEnvironment
# This is a non-blocking call that only loads the environment.
# Start interacting with the evironment.
env.reset()
behavior_names = env.get_behavior_names()
...
**NOTE:** Please read [Interacting with a Unity Environment](#interacting-with-a-unity-environment)
to read more about how you can interact with the Unity environment from Python.
- `file_name` is the name of the environment binary (located in the root
directory of the python project).

正在加载...
取消
保存