This version of Unity is unsupported.

EditorToolContext.targets

public IEnumerable<Object> targets;

Description

An array of the objects being inspected.