WKLib 0.2.3
A modding library for White Knuckle
Loading...
Searching...
No Matches
WKLib.API.UI.InputTextReplace Class Reference

Once placed on a TextMeshPro text it will be able to replace special tags into proper input names/symbols for Input Actions : {a:ActionName} for KeyCodes : {k:KeyCode} for InputControl : {c:ControlPath} up to two elements can be put in a tag separated by a comma, the first element is for keyboard/mouse while the second is for gamepad eg: {k:KeyCode,c:ControlPath}. More...

+ Inheritance diagram for WKLib.API.UI.InputTextReplace:
+ Collaboration diagram for WKLib.API.UI.InputTextReplace:

Public Member Functions

void ReloadText ()
 

Public Attributes

string forceSchemeName = string.Empty
 

Detailed Description

Once placed on a TextMeshPro text it will be able to replace special tags into proper input names/symbols for Input Actions : {a:ActionName} for KeyCodes : {k:KeyCode} for InputControl : {c:ControlPath} up to two elements can be put in a tag separated by a comma, the first element is for keyboard/mouse while the second is for gamepad eg: {k:KeyCode,c:ControlPath}.

Definition at line 21 of file InputTextReplace.cs.

Member Function Documentation

◆ ReloadText()

void WKLib.API.UI.InputTextReplace.ReloadText ( )

Definition at line 52 of file InputTextReplace.cs.

Member Data Documentation

◆ forceSchemeName

string WKLib.API.UI.InputTextReplace.forceSchemeName = string.Empty

Definition at line 23 of file InputTextReplace.cs.


The documentation for this class was generated from the following file: