private string[] GetHoldActionText() { if (_holdActionInput == null) { return(new string[] { }); } return(_holdActionInput.GetText()); }
private static void AddTextIfNotExisting(string text, HashSet <string> actionTexts, VRActionInput actionInput) { var actionInputText = actionInput.GetText(); if (!text.Contains(actionInputText)) { actionTexts.Add(actionInputText); } }
private static void AddTextIfNotExisting(string text, HashSet <string> actionTexts, VRActionInput actionInput) { var actionInputTexts = actionInput.GetText(); foreach (var inputText in actionInputTexts) { if (!text.Contains(inputText)) { actionTexts.Add(inputText); } } }