Advanced: Rebinding
Self-regulating text tooltips.
using AutomaticTutorialMaker;
[SerializeField] private InputStringsScriptableObject textStrings;
var keyToInteract = "E"; // the value that will fill the placeholder in the text
objectText.text = textStrings.ReplacePlaceholdersByKey("key_interaction_tip", keyToInteract); // it will return the text depending on the current language
// 🇺🇦→ Натисніть E щоб взаємодіяти
// 🇬🇧→ Press E to interact
// 🇯🇵→ EキーでインタラクトLast updated