public static bool shouldPause(ScriptPauseLevel pauseLevel) { switch(pauseLevel) { case ScriptPauseLevel.Cutscene: return m_GameIsPaused || m_InCutscene; case ScriptPauseLevel.PauseMenu: return m_GameIsPaused; default: return false; } }
public static bool shouldPause(ScriptPauseLevel pauseLevel) { switch (pauseLevel) { case ScriptPauseLevel.Cutscene: return(m_GameIsPaused || m_InCutscene); case ScriptPauseLevel.PauseMenu: return(m_GameIsPaused); default: return(false); } }