UnityEditor.MeshColliderEditor.OnInspectorGUI C# (CSharp) Method

OnInspectorGUI() public method

public OnInspectorGUI ( ) : void
return void
        public override void OnInspectorGUI()
        {
            base.serializedObject.Update();
            EditorGUI.BeginChangeCheck();
            EditorGUILayout.PropertyField(this.m_Convex, Texts.convextText, new GUILayoutOption[0]);
            if (EditorGUI.EndChangeCheck() && !this.m_Convex.boolValue)
            {
                base.m_IsTrigger.boolValue = false;
            }
            EditorGUI.indentLevel++;
            using (new EditorGUI.DisabledScope(!this.m_Convex.boolValue))
            {
                EditorGUILayout.PropertyField(this.m_InflateMesh, Texts.inflateMeshText, new GUILayoutOption[0]);
            }
            EditorGUI.indentLevel++;
            using (new EditorGUI.DisabledScope(!this.m_InflateMesh.boolValue))
            {
                EditorGUILayout.PropertyField(this.m_SkinWidth, Texts.skinWidthText, new GUILayoutOption[0]);
            }
            EditorGUI.indentLevel--;
            EditorGUI.indentLevel--;
            EditorGUI.indentLevel++;
            using (new EditorGUI.DisabledScope(!this.m_Convex.boolValue))
            {
                EditorGUILayout.PropertyField(base.m_IsTrigger, Texts.isTriggerText, new GUILayoutOption[0]);
            }
            EditorGUI.indentLevel--;
            EditorGUILayout.PropertyField(base.m_Material, new GUILayoutOption[0]);
            EditorGUILayout.PropertyField(this.m_Mesh, new GUILayoutOption[0]);
            base.serializedObject.ApplyModifiedProperties();
        }
MeshColliderEditor