/// <summary> /// Sets the character name to display on the Say Dialog. /// Supports variable substitution e.g. John {$surname} /// </summary> public virtual void SetCharacterName(string name, Color color) { if (NameText != null) { var subbedName = stringSubstituter.SubstituteStrings(name); NameText = subbedName; nameTextAdapter.SetTextColor(color); } }
public void SetTextColor(Color textColor) { textAdapter.SetTextColor(textColor); }