C# Class CrabManager, CrabBattle

Inheritance: MonoBehaviour
Afficher le fichier Open project: tomoprime/CrabBattle Class Usage Examples

Méthodes publiques

Свойство Type Description
BoundaryMat Material
CurrentHealth int
MaxHealth int

Méthodes publiques

Méthode Description
CalculateHealth ( ) : void
CrabCommand ( int crabAction, float actionSpeed, int seed ) : void
CrabMoveSync ( float x, float z, float aimx, float aimz, bool direction, float time ) : void
HitWeakpoint ( ) : void
SpawnGun ( ) : void
Start ( ) : void
Update ( ) : void
UpdateHealthBar ( ) : void
WalkLeft ( float speed ) : void
WeakPointFeedback ( float c ) : void

Private Methods

Méthode Description
BlinkWeakPointMessage ( int blinkcount ) : IEnumerator
ChangeTargetSync ( Vector3 Target, float wait ) : IEnumerator
CrabDeathExplosions ( ) : IEnumerator
CrabDie ( ) : IEnumerator
CrabFastDeath ( ) : IEnumerator
CrazyBarrage ( ) : IEnumerator
EyeDeath ( ) : IEnumerator
EyesAlive ( ) : IEnumerator
MegaBeam ( float length, bool useRapidCannon ) : IEnumerator
MusicFade ( ) : IEnumerator
RandomSpray ( float speed, int seed ) : IEnumerator
RapidCannon ( float speed, int difficulty ) : IEnumerator
SweepShot ( float speed ) : IEnumerator

Method Details

CalculateHealth() public méthode

public CalculateHealth ( ) : void
Résultat void

CrabCommand() public méthode

public CrabCommand ( int crabAction, float actionSpeed, int seed ) : void
crabAction int
actionSpeed float
seed int
Résultat void

CrabMoveSync() public méthode

public CrabMoveSync ( float x, float z, float aimx, float aimz, bool direction, float time ) : void
x float
z float
aimx float
aimz float
direction bool
time float
Résultat void

HitWeakpoint() public méthode

public HitWeakpoint ( ) : void
Résultat void

SpawnGun() public méthode

public SpawnGun ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateHealthBar() public méthode

public UpdateHealthBar ( ) : void
Résultat void

WalkLeft() public méthode

public WalkLeft ( float speed ) : void
speed float
Résultat void

WeakPointFeedback() public méthode

public WeakPointFeedback ( float c ) : void
c float
Résultat void

Property Details

BoundaryMat public_oe property

public Material BoundaryMat
Résultat Material

CurrentHealth public_oe property

public int CurrentHealth
Résultat int

MaxHealth public_oe property

public int MaxHealth
Résultat int