private void SelectNPC(uint npcId)
    {
        currentNpc = GlobalData.resourcesManager.getById <NPCState> (npcId);
        if (currentNpc == null)
        {
            Debug.LogWarning("Current dialog npc is null!");
            return;
        }
        Debug.Log("NPC selected: " + currentNpc.ToString());

        npcNameText.text = currentNpc.getName();
    }