C# Class mmm.MoveXY

Inheritance: UnityEngine.MonoBehaviour
显示文件 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_oe property

public KeyCode KeyDown
return KeyCode

KeyLeft public_oe property

public KeyCode KeyLeft
return KeyCode

KeyRight public_oe property

public KeyCode KeyRight
return KeyCode

KeyUp public_oe property

public KeyCode KeyUp
return KeyCode

moveOnPress public_oe property

public bool moveOnPress
return bool

speed public_oe property

public float speed
return float

velocity public_oe property

public Vector3,UnityEngine velocity
return UnityEngine.Vector3