Exemplo n.º 1
0
        public override GameObject InstantiateCell()
        {
            ApplicationInformationItem item = base.InstantiateCell().AddComponent <ApplicationInformationItem>();

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

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