Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
UnidirectionalMovement
C# Class UnidirectionalMovement, SlashRunner
Simply moves the current game object in a single direction
Inheritance:
Movement
显示文件
Open project: matthewAURA/SlashRunner
Public Properties
Property
Type
Description
direction
Vector2
Public Methods
Method
Description
Start
( ) :
void
Protected Methods
Method
Description
ComputeMovement
( ) :
void
UpdateMovement
( ) :
void
Method Details
ComputeMovement()
protected
final
method
protected
final
ComputeMovement
( ) :
void
return
void
Start()
public
method
public
Start
( ) :
void
return
void
UpdateMovement()
protected
final
method
protected
final
UpdateMovement
( ) :
void
return
void
Property Details
direction
public_oe property
Moving direction
public
Vector2
direction
return
Vector2