diff --git a/QSB/QSBInputManager.cs b/QSB/QSBInputManager.cs index 68a37461..49ead4ce 100644 --- a/QSB/QSBInputManager.cs +++ b/QSB/QSBInputManager.cs @@ -1,17 +1,16 @@ -using UnityEngine; +using System; +using UnityEngine; namespace QSB { - public delegate void InputEvent(); - public class QSBInputManager : MonoBehaviour { - public static event InputEvent ChertTaunt; - public static event InputEvent EskerTaunt; - public static event InputEvent RiebeckTaunt; - public static event InputEvent GabbroTaunt; - public static event InputEvent FeldsparTaunt; - public static event InputEvent ExitTaunt; + public static event Action ChertTaunt; + public static event Action EskerTaunt; + public static event Action RiebeckTaunt; + public static event Action GabbroTaunt; + public static event Action FeldsparTaunt; + public static event Action ExitTaunt; // TODO : finish instruments - disabled for 0.7.0 release /* diff --git a/QSB/Utility/OnEnableDisableTracker.cs b/QSB/Utility/OnEnableDisableTracker.cs index 4a9ddc3a..988a6d7c 100644 --- a/QSB/Utility/OnEnableDisableTracker.cs +++ b/QSB/Utility/OnEnableDisableTracker.cs @@ -1,13 +1,12 @@ -using UnityEngine; +using System; +using UnityEngine; namespace QSB.Utility { - public delegate void EnableDisableEvent(); - public class OnEnableDisableTracker : MonoBehaviour { - public event EnableDisableEvent OnEnableEvent; - public event EnableDisableEvent OnDisableEvent; + public event Action OnEnableEvent; + public event Action OnDisableEvent; public MonoBehaviour AttachedComponent;