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