Table of Contents

Class ResourcePrefabInfo

Namespace
PolyMod
Assembly
PolyMod.dll

The description of a custom resource prefab. It comes from the resources list of a prefabs file or from a resourcePrefab file. PolyMod also makes a default description for each GLD resource that has the prefab value set to true.

public class ResourcePrefabInfo : BasePrefabInfo
Inheritance
ResourcePrefabInfo
Inherited Members

Fields

resourceType

The resource type that the prefab is for. If it is null, PolyMod does not make the prefab.

[JsonInclude]
[JsonConverter(typeof(EnumCacheJson<ResourceData.Type>))]
public ResourceData.Type? resourceType

Field Value

ResourceData.Type?