Unity Engine documentationScript ReferenceUnityEditorTextureImporterlightmapDetermines whether this texture is a lightmap.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEditor Assembly: UnityEditor 警告Deprecated. lightmap Property deprecated. Check textureType instead. Getter will work as expected. Setter will set textureType to Lightmap if true, nothing otherwise. public bool lightmap { get; set; }