Наследование: RendererEditorBase
Пример #1
0
        public override void OnInspectorGUI()
        {
            base.serializedObject.Update();
            Editor.DrawPropertiesExcluding(base.serializedObject, this.m_ExcludedProperties);
            SerializedProperty serializedProperty = base.serializedObject.FindProperty("m_Materials");

            if (!serializedProperty.hasMultipleDifferentValues)
            {
                MeshRendererEditor.DisplayMaterialWarning(base.serializedObject, serializedProperty);
            }
            base.RenderProbeFields();
            base.serializedObject.ApplyModifiedProperties();
        }