public void Enable() { m_fpsManager.RestorePreviousState(); m_ramManager.RestorePreviousState(); m_audioManager.RestorePreviousState(); m_advancedData.RestorePreviousState(); m_active = true; }
public void ToggleActive() { m_active = !m_active; if (m_active) { m_fpsManager.RestorePreviousState(); m_ramManager.RestorePreviousState(); m_audioManager.RestorePreviousState(); m_advancedData.RestorePreviousState(); } else { m_fpsManager.SetState(ModuleState.OFF); m_ramManager.SetState(ModuleState.OFF); m_audioManager.SetState(ModuleState.OFF); m_advancedData.SetState(ModuleState.OFF); } }