projectChanged
Event that is raised whenever the state of the project changes.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Event
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static event Action projectChanged
Remarks
Actions that trigger this event include creating, renaming, or reparenting assets, as well as moving or renaming folders in the project. Note that the event is not raised immediately in response to these actions, but rather during the next update of the editor application.
Actions taken with assets that have HideFlags.HideInHierarchy set will not cause this event to be raised.
Additional Resources: EditorWindow.OnProjectChange().