C# Class Gameplay.Unit.BaseUnit

Inheritance: NetworkBehaviour, IHitByBullet
Show file Open project: badawe/GameStartUP

Protected Properties

Property Type Description
lastHitInformation Gameplay.Unit.Attack.HitInformation

Public Methods

Method Description
Hit ( HitInformation hitInformation ) : void
Initialize ( ) : void
Initialize ( int targetHealth, int targetMoveSpeed ) : void
OnStartLocalPlayer ( ) : void

Protected Methods

Method Description
Awake ( ) : void
Die ( ) : void
OnDestroy ( ) : void
Start ( ) : void

Private Methods

Method Description
OnHealthOver ( float prevValue, float currentValue ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

Die() protected method

protected Die ( ) : void
return void

Hit() public method

public Hit ( HitInformation hitInformation ) : void
hitInformation Gameplay.Unit.Attack.HitInformation
return void

Initialize() public method

public Initialize ( ) : void
return void

Initialize() public method

public Initialize ( int targetHealth, int targetMoveSpeed ) : void
targetHealth int
targetMoveSpeed int
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnStartLocalPlayer() public method

public OnStartLocalPlayer ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Property Details

lastHitInformation protected property

protected HitInformation,Gameplay.Unit.Attack lastHitInformation
return Gameplay.Unit.Attack.HitInformation