Legacy Documentation: Version 2017.1 (Go to current version)
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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答