public void UpdatePronounsFromPreset(PronounSet customPronounSet) { if (!customPronounSet.title.Equals("") && customPronounSet.title != null) { UpdateTitle(customPronounSet.title); titleGraphics.text = customPronounSet.title; } if (!customPronounSet.genderIdentityYoung.Equals("") && customPronounSet.genderIdentityYoung != null) { UpdateGenderIdentityYoung(customPronounSet.genderIdentityYoung); genderIdentityYoungGraphics.text = customPronounSet.genderIdentityYoung; } if (!customPronounSet.genderIdentityMature.Equals("") && customPronounSet.genderIdentityMature != null) { UpdateGenderIdentityMature(customPronounSet.genderIdentityMature); genderIdentityMatureGraphics.text = customPronounSet.genderIdentityMature; } UpdateSubjectPronounPlural(customPronounSet.plural); pluralBoolGraphics.isOn = customPronounSet.plural; UpdateSubjectPronoun(customPronounSet.subjectPronoun); subjectPronounGraphics.text = customPronounSet.subjectPronoun; UpdateObjectPronoun(customPronounSet.objectPronoun); objectPronounGraphics.text = customPronounSet.objectPronoun; UpdatePossesivePronoun(customPronounSet.possesivePronoun); possesivePronounGraphics.text = customPronounSet.possesivePronoun; }
public void PronounUsed(PronounSet inbound) { //Document how often various pronoun sets were used immediately after a name in the source if (pronounFrequency.ContainsKey (inbound)) { pronounFrequency[inbound] ++; //Console.WriteLine ("Increasing " + inbound + " on " + Name + "'s pronoun list."); } else { pronounFrequency.Add (inbound, 1); //Console.WriteLine ("Adding " + inbound + " to " + Name + "'s pronoun list."); } }
public void PronounUsed(PronounSet inbound) //Document how often various pronoun sets were used immediately after a name in the source { if (pronounFrequency.ContainsKey(inbound)) { pronounFrequency[inbound]++; //Console.WriteLine ("Increasing " + inbound + " on " + Name + "'s pronoun list."); } else { pronounFrequency.Add(inbound, 1); //Console.WriteLine ("Adding " + inbound + " to " + Name + "'s pronoun list."); } }