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