Class Block
This class handles the player's ability to block and parry incoming attacks. Blocking reduces damage, while parrying reflects attacks if timed correctly.
Inheritance
object
Block
Namespace: Player
Assembly: cs.temp.dll.dll
Syntax
public class Block : MonoBehaviour
Fields
blocking
Indicates whether the player is currently blocking.
Declaration
public bool blocking
Field Value
| Type | Description |
|---|---|
| bool |
Methods
IsParrying()
Checks if the player is currently parrying.
Declaration
public bool IsParrying()
Returns
| Type | Description |
|---|---|
| bool | True if the player is parrying, false otherwise. |