示例#1
0
 public static bool IsNullOrEmpty(this UCL.Core.UCL_Event ucl_event)
 {
     if (ucl_event != null && ucl_event.GetPersistentEventCount() > 0)
     {
         return(false);
     }
     return(true);
 }
示例#2
0
 public static void UCL_Invoke(this UCL.Core.UCL_Event ucl_event)
 {
     if (ucl_event == null)
     {
         return;
     }
     try {
         ucl_event.Invoke();
     } catch (System.Exception e) {
         Debug.LogError("UCL_Event Invoke Exception:" + e);
     }
 }