Beispiel #1
0
 void OnItemApply(int legionID, bool isApply)
 {
     if (isApply && LegionEvent.SendApplyJoinLegion != null)
     {
         LegionEvent.SendApplyJoinLegion(legionID);
     }
     else if (!isApply && LegionEvent.SendCancelApplyJoinLegion != null)
     {
         LegionEvent.SendCancelApplyJoinLegion(legionID);
     }
 }
Beispiel #2
0
        void OnClickCancelApply()
        {
            if (!isCouldClick)
            {
                return;
            }

            if (LegionEvent.SendCancelApplyJoinLegion != null)
            {
                LegionEvent.SendCancelApplyJoinLegion(legionID);
            }
        }