protected void HandleHotkeys()
        {
            if (m_Config.m_AlignHotkey.IsPressed())
            {
                m_Config.AlignToView();
            }

            if (m_Config.m_PauseHotkey.IsPressed())
            {
                m_Config.TogglePause();
            }

            if (m_Config.m_UpdatePreviewHotkey.IsPressed())
            {
                UpdatePreview();
            }

            if (m_Config.m_CaptureHotkey.IsPressed())
            {
                if (m_IsBurstActive)
                {
                    StopBurst();
                }
                else
                {
                    Capture();
                }
            }
        }
        public void DrawUtilsGUI()
        {
            // Title
            m_Config.m_ShowUtils = EditorGUILayout.Foldout(m_Config.m_ShowUtils, "Utils".ToUpper());
            if (m_Config.m_ShowUtils == false)
            {
                return;
            }
            EditorGUILayout.Separator();


            // Time
            EditorGUILayout.BeginHorizontal();
            EditorGUILayout.LabelField("Time scale");
            float timeScale = m_Config.m_Time;
            float time      = EditorGUILayout.Slider(timeScale, 0f, 1f);

            if (time != timeScale)
            {
                m_Config.SetTime(time);
            }
            EditorGUILayout.EndHorizontal();

            if (time == 0f)
            {
                EditorGUILayout.HelpBox("Time scale is set to 0.", MessageType.Warning);
            }

            // Pause button
            if (Time.timeScale == 0f)
            {
                if (GUILayout.Button("Resume game (set time scale to 1)"))
                {
                    m_Config.TogglePause();
                }
            }
            else
            {
                if (GUILayout.Button("Pause game (set time scale to 0)"))
                {
                    m_Config.TogglePause();
                }
            }

            // Align
            if (GUILayout.Button("Align cameras to view"))
            {
                m_Config.AlignToView();
            }

            EditorGUILayout.Separator();
            EditorGUILayout.Separator();

            // Sounds
            EditorGUILayout.PropertyField(m_PlaySoundOnCapture);
            EditorGUILayout.PropertyField(m_ShotSound);
            EditorGUILayout.PropertyField(m_StopTimeOnCapture);

            EditorGUILayout.Separator();
            EditorGUILayout.Separator();
        }