Пример #1
0
 private void Awake()
 {
     if (ItemDetail != null)
     {
         handler = ItemDetail.GetComponent <PacakgeAttributeUI>();
     }
 }
Пример #2
0
 private void Awake()
 {
     if (ClearAfterWear != null)
     {
         packageHandler = ClearAfterWear.GetComponent <PacakgeAttributeUI>();
     }
     if (UpdateInventory != null)
     {
         inventoryHandler = UpdateInventory.GetComponent <InventoryUI>();
     }
 }