Unity Engine documentationScript ReferenceUnityEditorShaderInfohasErrorsIndicates whether the shader has compilation errors (Read Only).阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEditor Assembly: UnityEditor.CoreModule public bool hasErrors { get; }