Skip to content

Commit af1acee

Browse files
author
Ruo-Ping Dong
committed
doc update
1 parent 69414a0 commit af1acee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gym-unity/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ from the root of the project repository use:
3131
```python
3232
from gym_unity.envs import UnityToGymWrapper
3333

34-
env = UnityToGymWrapper(unity_environment, uint8_visual, allow_multiple_obs)
34+
env = UnityToGymWrapper(unity_environment, uint8_visual, flatten_branched, allow_multiple_obs)
3535
```
3636

3737
- `unity_environment` refers to the Unity environment to be wrapped.
@@ -46,7 +46,7 @@ env = UnityToGymWrapper(unity_environment, uint8_visual, allow_multiple_obs)
4646

4747
- `allow_multiple_obs` will return a list of observations. The first elements contain the visual observations and the
4848
last element contains the array of vector observations. If False the environment returns a single array (containing
49-
a single visual observations, if present, otherwise the vector observation)
49+
a single visual observations, if present, otherwise the vector observation). Defaults to `False`.
5050

5151
The returned environment `env` will function as a gym.
5252

0 commit comments

Comments
 (0)