Beispiel #1
0
        public override GameObject InstantiateCell()
        {
            DetailedRecordItem item = base.InstantiateCell().AddComponent <DetailedRecordItem>();

            if (onCreateItemHandler != null)
            {
                onCreateItemHandler(item);
            }
            return(item.gameObject);
        }
Beispiel #2
0
 private void ClickDetailedRecordBattleResultButtonEvent(DetailedRecordItem item)
 {
     controller.SendBattleDetailRecordC2S(item.info.battleId);
 }
Beispiel #3
0
 private void OnCreateDetailedRecordItem(DetailedRecordItem item)
 {
     item.clickBattleResultEvent = ClickDetailedRecordBattleResultButtonEvent;
 }