This version of Unity is unsupported.

SelectionMode.TopLevel

Description

Only return the topmost selected transform. A selected child of another selected transform will be filtered out.