This component implements a very simple third person shooter-style controller.
More...
|
static float | ClampAngle (float angle, float min, float max) |
|
This component implements a very simple third person shooter-style controller.
The mouse rotates the character, the axes (WASD/arrow keys) move, and the Fire1 button (left mouse button) fires. Since this is a demo script, it uses standard Unity Input, not the overridable DialogueManager.GetInputButtonDown delegate.
◆ ClampAngle()
static float PixelCrushers.DialogueSystem.SimpleController.ClampAngle |
( |
float |
angle, |
|
|
float |
min, |
|
|
float |
max |
|
) |
| |
|
static |
◆ aim
AnimationClip PixelCrushers.DialogueSystem.SimpleController.aim |
◆ fire
AnimationClip PixelCrushers.DialogueSystem.SimpleController.fire |
◆ fireLayerMask
LayerMask PixelCrushers.DialogueSystem.SimpleController.fireLayerMask = 1 |
◆ fireSound
AudioClip PixelCrushers.DialogueSystem.SimpleController.fireSound |
◆ idle
AnimationClip PixelCrushers.DialogueSystem.SimpleController.idle |
◆ mouseMaximumY
float PixelCrushers.DialogueSystem.SimpleController.mouseMaximumY = 60f |
◆ mouseMinimumY
float PixelCrushers.DialogueSystem.SimpleController.mouseMinimumY = -60f |
◆ mouseSensitivityX
float PixelCrushers.DialogueSystem.SimpleController.mouseSensitivityX = 15f |
◆ mouseSensitivityY
float PixelCrushers.DialogueSystem.SimpleController.mouseSensitivityY = 10f |
◆ runBack
AnimationClip PixelCrushers.DialogueSystem.SimpleController.runBack |
◆ runForward
AnimationClip PixelCrushers.DialogueSystem.SimpleController.runForward |
◆ runSpeed
float PixelCrushers.DialogueSystem.SimpleController.runSpeed = 5f |
◆ upperBodyMixingTransform
Transform PixelCrushers.DialogueSystem.SimpleController.upperBodyMixingTransform |
◆ weaponDamage
float PixelCrushers.DialogueSystem.SimpleController.weaponDamage = 100 |
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Release/Assets/Dialogue System/Scripts/Supplemental/Utility/SimpleController.cs