Class PrefabConfig
Inheritance
System.Object
PrefabConfig
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: JotunnLib.Entities
Assembly: JotunnLib.dll
Syntax
public abstract class PrefabConfig
Constructors
| Improve this Doc View SourcePrefabConfig(String)
Declaration
public PrefabConfig(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
PrefabConfig(String, String)
Declaration
public PrefabConfig(string name, string baseName)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | baseName |
Properties
| Improve this Doc View SourceBasePrefabName
Declaration
public string BasePrefabName { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Prefab
Declaration
public GameObject Prefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject |
Methods
| Improve this Doc View SourceAddPiece(PieceConfig)
Declaration
public Piece AddPiece(PieceConfig pieceConfig)
Parameters
Type | Name | Description |
---|---|---|
PieceConfig | pieceConfig |
Returns
Type | Description |
---|---|
Piece |
Register()
Declaration
public abstract void Register()