Skip to content

Commit 8c39e22

Browse files
Update README.md
1 parent 4abea8d commit 8c39e22

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
# UnityCameraFreeLook
2-
A script that can be attached to the main camera to rotate and move it in Game Mode (and Build) using simple input.
2+
A script that can be attached to the main camera to rotate and move it in Game Mode (and Build) using simple input. Tested in Unity 2018.2.9f1.
3+
4+
Controls:
5+
Movement: Unity input axis (e.g. W-A-S-D, arrow keys or gamepad input axis)
6+
Up: Unity input "Jump" (e.g. space)
7+
Down: X
8+
Rotate: Unity mouse axis
9+
10+
The following settings can be made directly in the Editor in the component:
11+
- Movement speed (default: 10)
12+
- Turn speed (default 3)
13+
- Camera spawn (default current camera position)
14+
- Cursor visible: Indicates whether the cursor should be visible or not (default false)
15+
- Lock cursor: Indicates whether the cursor is locked in the game window or not (default true)

0 commit comments

Comments
 (0)