private void DrawSettings() { m_drawSettings.boolValue = EditorGUILayout.Foldout(m_drawSettings.boolValue, "Settings", true); if (m_drawSettings.boolValue) { // EditorGUILayout.HelpBox("Settings", MessageType.None); EditorGUI.BeginChangeCheck(); m_processAudio.boolValue = EditorGUILayout.Toggle("Process Clip Audio", m_processAudio.boolValue); if (EditorGUI.EndChangeCheck()) { csoundUnity.ClearSpin(); } m_mute.boolValue = EditorGUILayout.Toggle("Mute Csound", m_mute.boolValue); m_logCsoundOutput.boolValue = EditorGUILayout.Toggle("Log Csound Output", m_logCsoundOutput.boolValue); m_loudVolumeWarning.boolValue = EditorGUILayout.Toggle("Loud Volume Warning", m_loudVolumeWarning.boolValue); if (m_loudVolumeWarning.boolValue) { m_loudWarningThreshold.floatValue = EditorGUILayout.FloatField("Warning Threshold", m_loudWarningThreshold.floatValue, GUILayout.MaxWidth(Screen.width / 2 + 20)); } } }