internal void RegisterBoolPersistentListener(int index, UnityAction <bool> call, bool argument)
{
if (call == null)
{
Debug.LogWarning("Registering a Listener requires an action");
return;
}
if (!ValidateRegistration(call.Method, call.Target, PersistentListenerMode.Bool))
{
return;
}
m_PersistentCalls.RegisterBoolPersistentListener(index, call.Target as Object, call.Method.DeclaringType, argument, call.Method.Name);
DirtyPersistentCalls();
}