Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ToolAttribute.targetContext

public Type targetContext;

Description

If provided, the EditorTool will only be made available when the ToolManager.activeContextType is equal to targetContext.