public static void RegisterPersistentListener(this UnityEventBase self, int index, UnityAction <bool> unityAction, bool argument) { UnityEventTools.RegisterBoolPersistentListener(self, index, unityAction, argument); }