public static void Unregister(OnGuiEvent _action) { if (_action != null && Instance != null) { Instance.onGuiEvent -= _action; } }
public static void Register(OnGuiEvent _action) { if (_action != null) { Instance.onGuiEvent += _action; } }