Skip to content

Commit 9968f18

Browse files
[docs] Fixed parameter to UnityToGymWrapper on line 34 and 37 (#4392)
1 parent 5655aa9 commit 9968f18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: gym-unity/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ 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, flatten_branched, allow_multiple_obs)
34+
env = UnityToGymWrapper(unity_env, uint8_visual, flatten_branched, allow_multiple_obs)
3535
```
3636

37-
- `unity_environment` refers to the Unity environment to be wrapped.
37+
- `unity_env` refers to the Unity environment to be wrapped.
3838

3939
- `uint8_visual` refers to whether to output visual observations as `uint8`
4040
values (0-255). Many common Gym environments (e.g. Atari) do this. By default

0 commit comments

Comments
 (0)