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