C# Class mmm.MoveXY

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: momo-the-monster/workshop-trails

Public Properties

Property Type Description
KeyDown KeyCode
KeyLeft KeyCode
KeyRight KeyCode
KeyUp KeyCode
moveOnPress bool
speed float
velocity UnityEngine.Vector3

Public Methods

Method Description
DoRandomDirection ( ) : void
Update ( ) : void

Method Details

DoRandomDirection() public method

public DoRandomDirection ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

KeyDown public property

public KeyCode KeyDown
return KeyCode

KeyLeft public property

public KeyCode KeyLeft
return KeyCode

KeyRight public property

public KeyCode KeyRight
return KeyCode

KeyUp public property

public KeyCode KeyUp
return KeyCode

moveOnPress public property

public bool moveOnPress
return bool

speed public property

public float speed
return float

velocity public property

public Vector3,UnityEngine velocity
return UnityEngine.Vector3