Introduction
This is a simple first person controller used to demonstrate the versatility of the system.
Setting up
There is a prefab PlayerFirstPerson set up in /prefabs/ControlModes.
A Camera must be a child of the gameobject that contains this component and assigned to Camera Transform field.
Settings
Camera Transform
Assign a Camera for this component to work.
Move Speed
Movement speed of the controller.
Mouse Sensitivity
How sensitive is the mouse to looking around.
Vertical Look Limit
How high can the player look up without locking.
Scripting
/// <summary>
/// Enables or disables the controller
/// </summary>
/// <param name="enable"></param>
public void EnableDisableController(bool enable)