Unity Engine documentationScript ReferenceUnityEditorTextureImportergrayscaleToAlphaGenerate alpha channel from intensity.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEditor Assembly: UnityEditor 警告Deprecated. Use UnityEditor.TextureImporter.alphaSource instead. public bool grayscaleToAlpha { get; set; }