Documentation

Unity Engine

Unity Engine

componentWasAdded

This is invoked every time a new Component or MonoBehaviour is added to a GameObject using the ObjectFactory.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Event
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static event Action<Component> componentWasAdded