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;
            }
        }
Exemple #2
0
 public string PreprocessText(string text)
 {
     return(InputHintManager.ReplaceStringsWithTMProSprites(text));
 }