Assets/Scripts/Generic/BaseCharacter.cs
/// <summary>
/// Destroy the object and start the dying behaviour
/// </summary>
Destroy the object and start the dying behaviour
Destroy the object and start the dying behaviour
public virtual void Die()
        {
            Debug.Log($"{gameObject.name}: Dying!");
            Deadened?.Invoke();
        }
public virtual void Die ( ) { Debug . Log ( $" { gameObject . name } : Dying! " ) ; Deadened ? . Invoke ( ) ; }
Destroy the object and start the dying behaviour
Destroy the object and start the dying behaviour
//Destroy(gameObject);