private void Start()
 {
     m_Inventory            = new Inventory();
     m_CommonUIBehaviour    = CommonUIBehaviour.Instance;
     m_InventoryUIBehaviour = GetComponent <InventoryUIBehaviour>();
 }
Example #2
0
 void Start()
 {
     inventoryStartPosition = GameObject.Find("PanelInventory").GetComponent <RectTransform>().position.x;
     inventoryUIBehaviour   = GameObject.Find("ButtonArrowInventory").GetComponent <InventoryUIBehaviour>();
 }