no changes
This commit is contained in:
@@ -16,6 +16,8 @@ public class SelectedItemMenu : MonoBehaviour
|
||||
[Header("upgrade menu")]
|
||||
public GameObject upgradeMenu;
|
||||
public Transform upgrade_statParent;
|
||||
public Transform price_statParent;
|
||||
|
||||
|
||||
void Start()
|
||||
{
|
||||
@@ -59,6 +61,9 @@ public class SelectedItemMenu : MonoBehaviour
|
||||
{
|
||||
upgrade_statParent.GetChild(i).GetChild(0).GetComponent<TMP_Text>().text = stats[i].name;
|
||||
upgrade_statParent.GetChild(i).GetChild(1).GetComponent<TMP_Text>().text = stats[i].value;
|
||||
// price_statParent.GetChild(1).GetComponent<TMP_Text>().text = stats[i].price;
|
||||
Debug.Log(price_statParent);
|
||||
|
||||
}
|
||||
}
|
||||
if (upgrade_statParent.childCount > stats.Count)
|
||||
|
||||
Reference in New Issue
Block a user