///Unsubscribe from target unity event public void StopListening(UnityEventBase targetEvent, UnityEventCallback callback) { this._callback -= callback; _removeListenerMethod.Invoke(targetEvent, new object[] { this, _callMethod }); }
///Subscribe to target unity event public void StartListening(UnityEventBase targetEvent, UnityEventCallback callback) { this._callback += callback; _addListenerMethod.Invoke(targetEvent, new object[] { this, _callMethod }); }