private void Awake() { if (instance == null) { instance = this; } else { Destroy(this); } uiItems = new List <PIckUp>(); }
public virtual void Init(InventoryUIBase inventoryUI, int index) { this.inventoryUI = inventoryUI; Index = index; }
private void Awake() { if (instance == null) { instance = this; } else { Destroy(this); } uiItems = new List <PIckUp>(); }
public virtual void Init(InventoryUIBase inventoryUI, int index) { this.inventoryUI = inventoryUI; Index = index; }