Version: 2017.2
public static bool scriptCompilationFailed ;

説明

True if there are any compilation error messages in the log.