Table of Contents

Class UnitPrefabInfo

Namespace
PolyMod
Assembly
PolyMod.dll

The description of a custom unit prefab. It comes from the units list of a prefabs file or from a unitPrefab file.

public class UnitPrefabInfo : BasePrefabInfo
Inheritance
UnitPrefabInfo
Inherited Members

Fields

headPositionMarker

The name of the visual part that is the head position marker of the unit. If no visual part has this name, PolyMod uses the first visual part that it makes.

[JsonInclude]
public string headPositionMarker

Field Value

string

skinnedKey

The unit type, the tribe, and the skin that the prefab is for.

[JsonInclude]
public SkinnedKey skinnedKey

Field Value

SkinnedKey

uiOverride

The flag that makes the prefab a UI override. When it is true, the UI shows this prefab in place of the usual unit prefab.

[JsonInclude]
public bool uiOverride

Field Value

bool