void Awake() { if (instance == null) { instance = this; DontDestroyOnLoad(gameObject); InputUser.onChange += DeviceChanged; } else { // Debug.LogError("More than one instance of InputHintManager exists, deleting newer one"); Destroy(this); return; } }
public string PreprocessText(string text) { return(InputHintManager.ReplaceStringsWithTMProSprites(text)); }