Пример #1
0
        public override GameObject InstantiateCell()
        {
            DebrisItem item = base.InstantiateCell().AddComponent <DebrisItem>();

            if (onCreateItemHandler != null)
            {
                onCreateItemHandler(item);
            }
            return(item.gameObject);
        }
Пример #2
0
 private void OnCreateDebrisItem(DebrisItem item)
 {
     item.clickExChangeEvent = OnClickBuyButtonCallBack;
 }