Class KeyHintConfig
Configuration class for adding custom key hints.
Inheritance
System.Object
KeyHintConfig
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)
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public class KeyHintConfig
Properties
| Improve this Doc View SourceButtonConfigs
Array of ButtonConfigs used for this key hint.
Declaration
public ButtonConfig[] ButtonConfigs { get; set; }
Property Value
Type | Description |
---|---|
ButtonConfig[] |
Item
Item for which the KeyHint should be displayed when equipped.
Must be the name of the prefab as registered in the ItemManager.
Must be the name of the prefab as registered in the ItemManager.
Declaration
public string Item { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Piece
If not null or empty the KeyHint will also be bound to a specific
which must be selected for building.
Declaration
public string Piece { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()