- Namespace
- Atavism
- Base Types
-
- MonoBehaviour
- Atavism
Input Controller
graph BT
Type-->Base0["AtavismInputController"]
click Base0 "/docs/client_api_10.4.0/api/Atavism/AtavismInputController"
Base0-->Base1["MonoBehaviour"]
Type["ClickToMoveInputController"]
class Type type-node
Syntax
public class ClickToMoveInputController : AtavismInputController
Fields
Name | Constant Value | Summary |
---|---|---|
allowKeyMovement | ||
attack |
static
|
|
cameraGrabbed |
Inherited from Atavism
|
|
cameraRotation | ||
die |
static
|
|
distance | ||
harvestDelay | ||
height | ||
ignoreLayers | ||
input |
Inherited from Atavism
|
|
layerMask | ||
maxDistance | ||
minDistance | ||
mouseWheelDisabled |
Inherited from Atavism
|
|
MouseWheelVelocity | ||
movement | ||
particleIndicator | ||
particleLife | ||
particleYOffset | ||
target |
Inherited from Atavism
|
|
targetRadius |
Properties
Name | Value | Summary |
---|---|---|
CameraGrabbed | bool |
Inherited from Atavism
|
Input |
bool |
Inherited from Atavism
|
IsControllable | bool | |
MouseWheelDisabled | bool |
Inherited from Atavism
|
Target | Transform |
Inherited from Atavism
|
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)
|