// Start is called before the first frame update void Start() { //Grabbing Components myImage = GetComponentInChildren <Button>().GetComponent <Image>(); myImage.color = Color.clear; myEquipmentScreen = gameObject.GetComponentInParent <EquipScreen>(); }
// Start is called before the first frame update void Start() { myUIManager = UIManager.Instance; myInventoryManager = InventoryManager.Instance; myUIManager.UIInventoryMenu = gameObject; myEquipmentScreen = myUIManager.EquipScreen.GetComponent <EquipScreen>(); PopulateInventory(); gameObject.SetActive(false); }
public void UpdateAllBackgrounds() { MainScreen.UpdateBackground(); ItemScreen.UpdateBackground(); //MagicScreen.UpdateBackground(); MateriaScreen.UpdateBackground(); EquipScreen.UpdateBackground(); StatusScreen.UpdateBackground(); ConfigScreen.UpdateBackground(); PhsScreen.UpdateBackground(); SaveScreen.UpdateBackground(); }