Documentation

Unity Engine


User Manual

Script Reference

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 4 days ago

Definition

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