Class ImprovementPrefabInfo
- Namespace
- PolyMod
- Assembly
- PolyMod.dll
The description of a custom improvement prefab.
It comes from the improvements list of a prefabs file or from an improvementPrefab file.
PolyMod also makes a default description for each GLD improvement that has the prefab value set to true.
public class ImprovementPrefabInfo : BasePrefabInfo
- Inheritance
-
ImprovementPrefabInfo
- Inherited Members
Fields
improvementType
The improvement type that the prefab is for. If it is null, PolyMod does not make the prefab.
[JsonInclude]
[JsonConverter(typeof(EnumCacheJson<ImprovementData.Type>))]
public ImprovementData.Type? improvementType
Field Value
- ImprovementData.Type?
needsOutlines
The flag that adds a renderer to the outline of each visual part. When it is false, the outline objects have no renderer.
[JsonInclude]
public bool needsOutlines