示例#1
0
 void InvokeThinkMethod(ThinkMethod cancelMethod, ThinkMethod invokeMethod, float delay)
 {
     CancelInvoke(GetMethodName(cancelMethod));
     if (!IsInvoking(GetMethodName(invokeMethod)))
     {
         Invoke(GetMethodName(invokeMethod), delay);
     }
 }
示例#2
0
 string GetMethodName(ThinkMethod th)
 {
     return(th.Method.Name);
 }