C# Class Combat, UnderworldExporter

Inheritance: NetworkBehaviour
Mostra file Open project: hankmorgan/UnderworldExporter Class Usage Examples

Public Properties

Property Type Description
AttackCharging bool
AttackExecuting bool
Charge float
chargeRate float
weaponRange float

Public Methods

Method Description
CombatBegin ( ) : void

Begins combat for the player

CombatCharging ( ) : void

Charging of melee weapon attacks.

ExecuteMelee ( string StrikeType, float StrikeCharge ) : IEnumerator

Executes the melee attack after the attack has been released.

ExecuteRanged ( ) : void

Execution of ranged attacks

PlayerCombatIdle ( ) : void

Processing of the player combat idle state. Sets the weapon animation in use when idle.

ReleaseAttack ( ) : void

Releases the attack.

Method Details

CombatBegin() public method

Begins combat for the player
public CombatBegin ( ) : void
return void

CombatCharging() public method

Charging of melee weapon attacks.
public CombatCharging ( ) : void
return void

ExecuteMelee() public method

Executes the melee attack after the attack has been released.
public ExecuteMelee ( string StrikeType, float StrikeCharge ) : IEnumerator
StrikeType string
StrikeCharge float
return IEnumerator

ExecuteRanged() public method

Execution of ranged attacks
public ExecuteRanged ( ) : void
return void

PlayerCombatIdle() public method

Processing of the player combat idle state. Sets the weapon animation in use when idle.
public PlayerCombatIdle ( ) : void
return void

ReleaseAttack() public method

Releases the attack.
public ReleaseAttack ( ) : void
return void

Property Details

AttackCharging public_oe property

public bool AttackCharging
return bool

AttackExecuting public_oe property

public bool AttackExecuting
return bool

Charge public_oe property

public float Charge
return float

chargeRate public_oe property

public float chargeRate
return float

weaponRange public_oe property

public float weaponRange
return float