コード例 #1
0
        public override GameObject InstantiateCell()
        {
            DetailedRecordItem item = base.InstantiateCell().AddComponent <DetailedRecordItem>();

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