private void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }
        else
        {
            Destroy(this);
        }

        uiItems = new List <PIckUp>();
    }
Beispiel #2
0
 public virtual void Init(InventoryUIBase inventoryUI, int index)
 {
     this.inventoryUI = inventoryUI;
     Index            = index;
 }