- Namespace
- Atavism
- Base Types
-
- Atavism
Input Controller
- Atavism
graph BT
Type-->Base0["AtavismInputController"]
Type["ClickToMoveInputController"]
class Type type-node
Syntax
public class ClickToMoveInputController : AtavismInputController
Fields
Name | Constant Value | Summary |
---|---|---|
allowKeyMovement | ||
attack |
static
|
|
cameraRotation | ||
die |
static
|
|
distance | ||
harvestDelay | ||
height | ||
ignoreLayers | ||
layerMask | ||
maxDistance | ||
minDistance | ||
MouseWheelVelocity | ||
movement | ||
particleIndicator | ||
particleLife | ||
particleYOffset | ||
targetRadius |
Properties
Name | Value | Summary |
---|---|---|
IsControllable | bool |
Methods
Name | Value | Summary |
---|---|---|
GetPlayerMovement |
Vector3 | |
HandleImmediateKeys |
void |
Handle the keyboard and mouse input for movement of the player and camera.
This method name says immediate, but really it is acting on a keyboard state
that may have been filled in by buffered or immediate input.
|
MoveBackward |
void | |
MoveForward |
void | |
RunCameraUpdate |
void | |
TargetClicked |
void | |
TurnLeft |
void | |
TurnRight |
void | |
UpdateCamera |
void |
Move the camera based on the new position of the camera target (player)
|