C# Class Blockade, AwesomeGameInSpace

Inheritance: MonoBehaviour
Mostra file Open project: ZPZ-Gr2/AwesomeGameInSpace Class Usage Examples

Public Properties

Property Type Description
blockadeComponents List
destroyedThreshold float
forceMultiplier float
hitPoints float
maxHitpoints float

Private Properties

Property Type Description
ActivateComponent void
DeactivateComponent void
SetActiveComponents void

Public Methods

Method Description
DealDamage ( GameObject target, Vector3 damage ) : void
Repair ( float repairAmount ) : void
Start ( ) : void

Private Methods

Method Description
ActivateComponent ( GameObject component ) : void
DeactivateComponent ( GameObject component ) : void
SetActiveComponents ( ) : void

Method Details

DealDamage() public method

public DealDamage ( GameObject target, Vector3 damage ) : void
target GameObject
damage Vector3
return void

Repair() public method

public Repair ( float repairAmount ) : void
repairAmount float
return void

Start() public method

public Start ( ) : void
return void

Property Details

blockadeComponents public_oe property

public List blockadeComponents
return List

destroyedThreshold public_oe property

public float destroyedThreshold
return float

forceMultiplier public_oe property

public float forceMultiplier
return float

hitPoints public_oe property

public float hitPoints
return float

maxHitpoints public_oe property

public float maxHitpoints
return float