Version: 2020.1
言語: 日本語
public GUIContent toolbarIcon ;

説明

The icon and tooltip for this custom editor tool. If this function is not implemented, the toolbar displays the Inspector icon for the target type. If no target type is defined, the toolbar displays the Tool Mode icon.

Because this property is accessed frequently, you should load the icon's GUIContent in MonoBehaviour.OnEnable. See EditorTool for an example.