コード例 #1
0
 void Start()
 {
     if (locked != false)
     {
         costText.text = cost.ToString();
     }
     nameText.text = shopName;
     inventory     = GameObject.FindGameObjectWithTag("Player").GetComponent <InventoryComponant>();
 }
コード例 #2
0
 void Start()
 {
     inventory = GameObject.FindGameObjectWithTag("Player").GetComponent <InventoryComponant>();
 }