Show / Hide Table of Contents

Class KeyHintManager

Manager for handling custom key hints
Inheritance
System.Object
KeyHintManager
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: Jotunn.Managers
Assembly: Jotunn.dll
Syntax
public class KeyHintManager : IManager

Properties

| Improve this Doc View Source

Instance

Singleton instance
Declaration
public static KeyHintManager Instance { get; }
Property Value
Type Description
KeyHintManager

Methods

| Improve this Doc View Source

AddKeyHint(KeyHintConfig)

Add a KeyHintConfig to the manager.
Checks if the custom key hint is unique (i.e. the first one registered for an item).
Custom key hints are displayed in the game instead of the default KeyHints for equipped tools or weapons they are registered for.
Declaration
public bool AddKeyHint(KeyHintConfig hintConfig)
Parameters
Type Name Description
KeyHintConfig hintConfig The custom key hint config to add.
Returns
Type Description
System.Boolean true if the custom key hint config was added to the manager.
| Improve this Doc View Source

Init()

Initialize the manager
Declaration
public void Init()
| Improve this Doc View Source

RemoveKeyHint(KeyHintConfig)

Removes a KeyHintConfig from the game.
Declaration
public void RemoveKeyHint(KeyHintConfig hintConfig)
Parameters
Type Name Description
KeyHintConfig hintConfig The custom key hint config to add.

Extension Methods

PrefabExtension.FixReferences(Object)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾