EditorGUI.DisabledScopeConstructor

Switch to Manual
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.