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

            if (onCreateItemHandler != null)
            {
                onCreateItemHandler(item);
            }

            return(item.gameObject);
        }
Exemple #2
0
 private void CreateApplicationInformationItem(ApplicationInformationItem item)
 {
     item.agreeEvent  = OnAgreeFriendApplicationClickCallBack;
     item.refuseEvent = OnRefuseFriendApplicationClickCallBack;
 }