public static void DeactivateLogWindow() { if (_currentLog != null && _currentLog.logWindow.activeSelf) { _currentLog.LogButton(); } }
public static void DeactivateLogWindow() { if (current == null) { return; } else { if (current.logWindow.activeSelf) { current.LogButton(); } } }