Exemple #1
0
    public void Die()
    {
        _stateMgr.Die();
        _animMgr.Die();
        _behaviourMgr.Die();
        _moveMgr.Die();

        _needToMove   = false;
        _ableToAttack = false;

        gameObject.SetActive(false);
        UnitManager.Instance.CheckBattleResult();
    }