UnityEditor.ClothInspector.OnInspectorGUI C# (CSharp) Method

OnInspectorGUI() public method

public OnInspectorGUI ( ) : void
return void
        public override void OnInspectorGUI()
        {
            EditorGUI.BeginDisabledGroup(base.targets.Length > 1);
            EditMode.DoEditModeInspectorModeButton(EditMode.SceneViewEditMode.Cloth, "Edit Constraints", EditorGUIUtility.IconContent("EditCollider"), this.GetClothBounds(), this);
            EditorGUI.EndDisabledGroup();
            base.OnInspectorGUI();
            if (this.cloth.GetComponent<MeshRenderer>() != null)
            {
                Debug.LogWarning("MeshRenderer will not work with a cloth component! Use only SkinnedMeshRenderer. Any MeshRenderer's attached to a cloth component will be deleted at runtime.");
            }
        }