Beispiel #1
0
        private void SetDetailDisplay(BaseItem item)
        {
            //名前
            _ItemDetail.transform.Find("DetailItemName").GetComponent <Text>().text =
                item.GetName();

            //攻撃力
            _ItemDetail.transform.Find("DetailItemAttackValue").GetComponent <Text>().text =
                item.GetAttack();

            //防御力
            _ItemDetail.transform.Find("DetailItemDefenseValue").GetComponent <Text>().text =
                item.GetDefense();

            SetOptionValues(item.Options, item.IsAnalyse);

            //説明
            _ItemDetail.transform.Find("DetailItemDescription").GetComponent <Text>().text =
                item.GetDescription();
        }