Show / Hide Table of Contents

Class PlayerMovement

Basic movement script using WASD/Arrow keyboard input

Inheritance
System.Object
PlayerMovement
Namespace: Assets.Src
Assembly: cs.temp.dll.dll
Syntax
public class PlayerMovement : MonoBehaviour

Fields

Speed

Player speed in units per second

Declaration
public float Speed
Field Value
Type Description
System.Single

Methods

Update()

Updates the player position per frame

Declaration
public void Update()
Back to top Generated by DocFX