ClickToMoveInputController Class

Namespace
Atavism
Base Types
  • AtavismInputController
graph BT Type-->Base0["AtavismInputController"] Type["ClickToMoveInputController"] class Type type-node

Syntax

public class ClickToMoveInputController : AtavismInputController

Fields

Properties

Name Value Summary
IsControllable bool

Methods

Name Value Summary
GetPlayerMovement() Vector3
HandleImmediateKeys(float, float) 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(bool) void
MoveForward(bool) void
RunCameraUpdate() void
TargetClicked(GameObject) void
TurnLeft(bool) void
TurnRight(bool) void
UpdateCamera() void
Move the camera based on the new position of the camera target (player)