private void ControllerEvents_TriggerClicked(object sender, ControllerInteractionEventArgs e) { ImageDeactivator imageDeactivator = currentTarget.GetComponent <ImageDeactivator>(); if (imageDeactivator != null) { currentTarget.GetComponent <ImageDeactivator>().Deactivate(); } TV tv = currentTarget.GetComponent <TV>(); if (tv != null) { Debug.Log("Tv hit"); tv.Activate(); } }