protected override void OnInputGui(int inputIndex) { var inputs = (target as RecorderSettings).inputsSettings; var input = inputs[inputIndex]; if (m_RTInputSelector.OnInputGui(ref input)) { ChangeInputSettings(inputIndex, input); } base.OnInputGui(inputIndex); }
protected virtual void OnInputGui(int inputIndex) { var inputs = (target as RecorderSettings).inputsSettings; var input = inputs[inputIndex]; if (m_RTInputSelector.OnInputGui(inputIndex, ref input)) { ChangeInputSettings(inputIndex, input); } m_InputEditors[inputIndex].editor.OnInspectorGUI(); m_InputEditors[inputIndex].editor.OnValidateSettingsGUI(); }