C# Class BaseAbility, Final_Project_Main

Inheritance: MonoBehaviour
Datei anzeigen Open project: framadan/Final_Project_Main Class Usage Examples

Public Properties

Property Type Description
baseKB float
damage float
equalTarget GameObject
factors float
hasHit bool
health float
scaledKB float
weight float

Public Methods

Method Description
KnockBack ( float value ) : void
OnCollisionEnter ( Collision other ) : void
Start ( ) : void
TakeDamage ( float damage ) : void
Update ( ) : void

Method Details

KnockBack() public method

public KnockBack ( float value ) : void
value float
return void

OnCollisionEnter() public method

public OnCollisionEnter ( Collision other ) : void
other Collision
return void

Start() public method

public Start ( ) : void
return void

TakeDamage() public method

public TakeDamage ( float damage ) : void
damage float
return void

Update() public method

public Update ( ) : void
return void

Property Details

baseKB public_oe property

public float baseKB
return float

damage public_oe property

public float damage
return float

equalTarget public_oe property

public GameObject equalTarget
return GameObject

factors public_oe property

public float factors
return float

hasHit public_oe property

public bool hasHit
return bool

health public_oe property

public float health
return float

scaledKB public_oe property

public float scaledKB
return float

weight public_oe property

public float weight
return float