示例#1
0
 /// <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);
     }
 }
示例#2
0
 public void SetTextColor(Color textColor)
 {
     textAdapter.SetTextColor(textColor);
 }