コード例 #1
0
    public void NpcQuestButtonClick()   //npc의 퀘스트 리스트 클릭
    {
        NPCQuestUI npcQuestUI = transform.parent.transform.parent.transform.parent.GetComponent <NPCQuestUI>();

        nowindex = int.Parse(gameObject.name.ToString());
        Debug.Log("clickindex : " + nowindex);
        npcQuestUI.NPCQuestBoardSetting(nowindex);
    }