EditorUtility.RequestScriptReload

public static void RequestScriptReload();

Description

The Unity Editor reloads script assemblies asynchronously on the next frame. This resets the state of all the scripts, but Unity does not compile any code that has changed since the previous compilation.

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