📕 Read-only Properties

// Queries the character's current health.
public float Health => health;
// Retrieves the character's current shield.
public float Shield => shield;
// Gets the character's current stamina.
public float Stamina => stamina;
// Retrieves the character's current hunger.
public float Hunger => hunger;
// Gets the character's current thirst.
public float Thirst => thirst;
// Queries whether the player is on the ground.
public bool Grounded => isGrounded;
// Retrieves the key bindings for stamina reduction in the character's special actions.
public KeyCode[] StaminaInputs => staminaInputs;
// Checks if the character is required to be on the ground.
public bool GroundedRequired { get => groundedRequired; set => groundedRequired = value; }
// Queries whether the player is currently in combat.
public bool InCombat => Time.time - lastCombatTime < combatCooldown;
// Begins the health regeneration coroutine.
public Coroutine HealthRegenCoroutine => healthRegenCoroutine;
// Begins the shield regeneration coroutine.
public Coroutine ShieldRegenCoroutine => shieldRegenCoroutine;
// Begins the stamina regeneration coroutine.
public Coroutine StaminaRegenCoroutine => staminaRegenCoroutine;
// Begins the hunger regeneration coroutine.
public Coroutine HungerRegenCoroutine => hungerRegenCoroutine;
// Begins the thirst regeneration coroutine.
public Coroutine ThirstRegenCoroutine => thirstRegenCoroutine;