EditorGUI.DisabledScopeConstructor

切换到手册
public EditorGUI.DisabledScope (bool disabled);

参数

disabled布尔值,用于指定是否应禁用组中的控件。

描述

创建一个新的 DisabledScope 并开始相应的组。