C# Class PlayerAttack, HackAndSlash

Represents an attack that can be performed by a player character.
Show file Open project: MrPhil/HackAndSlash Class Usage Examples

Public Properties

Property Type Description
attackTimer float
coolDown float
target GameObject

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
Attack ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

attackTimer public property

public float attackTimer
return float

coolDown public property

public float coolDown
return float

target public property

public GameObject target
return GameObject