Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
MoveScript2
C# Class MoveScript2, Heracles
Simply moves the current game object
Inheritance:
MonoBehaviour
Mostra file
Open project: TrinityUniversityGameDesign/Heracles
Class Usage Examples
Public Properties
Property
Type
Description
counterMax
int
direction
Vector2
speed
Vector2
Public Methods
Method
Description
Awake
( ) :
void
FixedUpdate
( ) :
void
Update
( ) :
void
Method Details
Awake()
public
method
public
Awake
( ) :
void
return
void
FixedUpdate()
public
method
public
FixedUpdate
( ) :
void
return
void
Update()
public
method
public
Update
( ) :
void
return
void
Property Details
counterMax
public_oe property
public
int
counterMax
return
int
direction
public_oe property
Moving direction
public
Vector2
direction
return
Vector2
speed
public_oe property
Object speed
public
Vector2
speed
return
Vector2