C# Class PlayerAttack, HackAndSlash

Represents an attack that can be performed by a player character.
显示文件 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_oe property

public float attackTimer
return float

coolDown public_oe property

public float coolDown
return float

target public_oe property

public GameObject target
return GameObject