This version of Unity is unsupported.

EditorGUI.DisabledScope Constructor

public EditorGUI.DisabledScope(bool disabled);

Parameters

disabledBoolean specifying if the controls inside the group should be disabled.

Description

Create a new DisabledScope and begin the corresponding group.