This version of Unity is unsupported.

EditorToolAttribute.targetType

public Type targetType;

Description

The target type that this tool can edit.

If a tool is registered for a type, the type appears in the Tools menu when the current selection contains an editable type.