Beispiel #1
0
    private void OnTriggerExit(Collider other)
    {
        if (!slimeInputManager || other.CompareTag("Player") == isPlayer)
        {
            return;
        }
        var enemySlime = other.GetComponent <Slime>();

        if (enemySlime == null)
        {
            return;
        }
        slimeInputManager.RemoveEnemyInsight(slime, enemySlime);
    }