Свойство | Type | Description | |
---|---|---|---|
agroRange | float | ||
attackRange | float | ||
attackShakesScreen | bool | ||
attackSound | AudioClip | ||
attack_CD | float | ||
classification | Type | ||
experienceAmount | int |
Свойство | Type | Description | |
---|---|---|---|
attackTimer | float | ||
camera | CameraFollow | ||
isAttacking | bool |
Méthode | Description | |
---|---|---|
Act ( Type, t ) : void | ||
Awake ( ) : void | ||
GetInvincible ( ) : bool | ||
GetTarget ( ) : GameObject | ||
Move ( Vector3 velocity, float force = 1 ) : void | ||
MoveToDir ( Vector3 vDirection, float force = 1 ) : void | ||
SetTarget ( GameObject tar ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
getCanMove ( ) : bool | ||
setInvTime ( float t ) : void | ||
setIsAttacking ( bool b ) : void | ||
updateMove ( Vector3 velocity ) : void |
public Move ( Vector3 velocity, float force = 1 ) : void | ||
velocity | Vector3 | |
force | float | |
Résultat | void |
public MoveToDir ( Vector3 vDirection, float force = 1 ) : void | ||
vDirection | Vector3 | |
force | float | |
Résultat | void |
public updateMove ( Vector3 velocity ) : void | ||
velocity | Vector3 | |
Résultat | void |