RemoveListeners() 공개 메소드

public RemoveListeners ( UnityEngine target, string methodName ) : void
target UnityEngine
methodName string
리턴 void
예제 #1
0
 internal void RemovePersistentListener(Object target, MethodInfo method)
 {
     if (method == null)
     {
         return;
     }
     m_PersistentCalls.RemoveListeners(target, method.Name);
     DirtyPersistentCalls();
 }
예제 #2
0
 internal void RemovePersistentListener(Object target, MethodInfo method)
 {
     if (method == null || method.IsStatic || target == null || target.GetInstanceID() == 0)
     {
         return;
     }
     m_PersistentCalls.RemoveListeners(target, method.Name);
     DirtyPersistentCalls();
 }