public override GameObject InstantiateCell() { DetailedRecordItem item = base.InstantiateCell().AddComponent <DetailedRecordItem>(); if (onCreateItemHandler != null) { onCreateItemHandler(item); } return(item.gameObject); }
private void ClickDetailedRecordBattleResultButtonEvent(DetailedRecordItem item) { controller.SendBattleDetailRecordC2S(item.info.battleId); }
private void OnCreateDetailedRecordItem(DetailedRecordItem item) { item.clickBattleResultEvent = ClickDetailedRecordBattleResultButtonEvent; }