예제 #1
0
    void setCost(string id)
    {
        UILabel childUILabel = transform.FindChild("PointCost").GetComponent <UILabel>();

        childUILabel.text = "[f7fd5d]Point Cost: " + _talentTree.getCost(id) + "[-]";
    }