Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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();
        }