BaseEventData.selectedObject

public GameObject selectedObject;

Description

The object currently considered selected by the EventSystem.

Did you find this page useful? Please give it a rating: