Class PrefabType
A collection of prefab entries.
Inherited Members
Namespace: InsaneScatterbrain.MapGraph
Syntax
[Serializable]
public class PrefabType : ObjectType<PrefabTypeEntry, GameObject>, IObjectType<PrefabTypeEntry, GameObject>, IDataSetItem
Constructors
PrefabType(string)
Creates a new prefab type with the given name.
Declaration
public PrefabType(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The prefab type name. |
Properties
OpenEntries
A less restricted collection of the entries for protected use.
Declaration
protected override List<PrefabTypeEntry> OpenEntries { get; }
Property Value
Type | Description |
---|---|
List<PrefabTypeEntry> |
Overrides
Methods
NewEntry()
Creates and returns an entry for this object type.
Declaration
protected override PrefabTypeEntry NewEntry()
Returns
Type | Description |
---|---|
PrefabTypeEntry | The new entry. |