EditorUtility.RequestScriptReload

Switch to Manual
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.