Example #1
0
    // 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>();
    }
Example #2
0
 // 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);
 }
Example #3
0
 public void UpdateAllBackgrounds()
 {
     MainScreen.UpdateBackground();
     ItemScreen.UpdateBackground();
     //MagicScreen.UpdateBackground();
     MateriaScreen.UpdateBackground();
     EquipScreen.UpdateBackground();
     StatusScreen.UpdateBackground();
     ConfigScreen.UpdateBackground();
     PhsScreen.UpdateBackground();
     SaveScreen.UpdateBackground();
 }