예제 #1
0
    public void SpawnSet()
    {
        isDead = false;
        attackAnimIsPlaying = false;
        canAttack           = true;

        gameObject.transform.position = gameManager.GetEnemyUnitSpawnPosition().position;

        fusionManager.SetCanSetScripts();

        _unitOnMiniMap.SetActive(true);

        PlusEnemyNum();

        setStat();
        SetDistanceArrayIndex();

        SetMaxHealth();
    }