public override GameObject InstantiateCell() { DebrisItem item = base.InstantiateCell().AddComponent <DebrisItem>(); if (onCreateItemHandler != null) { onCreateItemHandler(item); } return(item.gameObject); }
private void OnCreateDebrisItem(DebrisItem item) { item.clickExChangeEvent = OnClickBuyButtonCallBack; }