Documentation

Unity Engine

Unity Engine

pickingChanged

The event raised whenever the picking state of a GameObject changes.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Event
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static event Action pickingChanged

Remarks

For performance reasons, this event is not raised for every picking operation. For example, if you select multiple GameObjects and disable picking on them all at once, the event will be raised only once.