Unity Engine documentationScript ReferenceUnityEditorTextureImporterlightmapDetermines whether this texture is a lightmap.Read time 1 minuteLast updated 6 days agoDefinition Type: Property Namespace: UnityEditor Assembly: UnityEditor WarningDeprecated. 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; }