C# Класс Combat, UnderworldExporter

Наследование: NetworkBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AttackCharging bool
AttackExecuting bool
Charge float
chargeRate float
weaponRange float

Открытые методы

Метод Описание
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.

Описание методов

CombatBegin() публичный Метод

Begins combat for the player
public CombatBegin ( ) : void
Результат void

CombatCharging() публичный Метод

Charging of melee weapon attacks.
public CombatCharging ( ) : void
Результат void

ExecuteMelee() публичный Метод

Executes the melee attack after the attack has been released.
public ExecuteMelee ( string StrikeType, float StrikeCharge ) : IEnumerator
StrikeType string
StrikeCharge float
Результат IEnumerator

ExecuteRanged() публичный Метод

Execution of ranged attacks
public ExecuteRanged ( ) : void
Результат void

PlayerCombatIdle() публичный Метод

Processing of the player combat idle state. Sets the weapon animation in use when idle.
public PlayerCombatIdle ( ) : void
Результат void

ReleaseAttack() публичный Метод

Releases the attack.
public ReleaseAttack ( ) : void
Результат void

Описание свойств

AttackCharging публичное свойство

public bool AttackCharging
Результат bool

AttackExecuting публичное свойство

public bool AttackExecuting
Результат bool

Charge публичное свойство

public float Charge
Результат float

chargeRate публичное свойство

public float chargeRate
Результат float

weaponRange публичное свойство

public float weaponRange
Результат float