Version: 5.6 (switch to 2017.1b)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorApplication.projectWindowChanged

public static EditorApplication.CallbackFunction projectWindowChanged;

Description

Callback raised whenever the state of the Project window changes.

This callback is raised whenever the state of the Unity Editor's Project window changes - for example, when an Asset is created, removed, renamed or or reparented. This example is not exhaustive; any Asset change or folder re-arrangement that is reflected in the Project window triggers this callback.