RemoveListeners() public method

public RemoveListeners ( UnityEngine target, string methodName ) : void
target UnityEngine
methodName string
return void
Exemplo n.º 1
0
 internal void RemovePersistentListener(Object target, MethodInfo method)
 {
     if (method == null)
     {
         return;
     }
     m_PersistentCalls.RemoveListeners(target, method.Name);
     DirtyPersistentCalls();
 }
Exemplo n.º 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();
 }