Loading...
Searching...
No Matches
AdventureCore.InputBindingText Class Reference

Detailed Description

visualizes the current binding of an input action(new input system) in a text component
refreshs itself when the control method is changed so control hints are seamlessly adjusted

https://adventure.softleitner.com/manual

Inheritance diagram for AdventureCore.InputBindingText:

Public Types

enum  InputBindingTextOptions { OnlyFirstBinding = 1 }
 

Public Member Functions

void Set (string text)
 

Static Public Member Functions

static string[] ReplacePlaceholders (string format)
 
static string GetDisplayString (PlayerInput playerInput, string action, InputBinding.DisplayStringOptions displayStringOptions=InputBinding.DisplayStringOptions.DontIncludeInteractions, InputBindingTextOptions bindingTextOptions=InputBindingTextOptions.OnlyFirstBinding, TMP_SpriteAsset tmpSprites=null)
 

Public Attributes

PlayerInput PlayerInput
 
Text Text
 
TMP_Text TMPText
 
TMP_SpriteAsset TMPSprites
 
string Format
 
InputBinding.DisplayStringOptions DisplayStringOptions = InputBinding.DisplayStringOptions.DontIncludeInteractions
 
InputBindingTextOptions BindingTextOptions = InputBindingTextOptions.OnlyFirstBinding
 

Static Public Attributes

static string