public static string ChooseRandomName() { if (femaleNameList == null) { maleNameList = new NameList(Game.Instance.maleNamesFile); femaleNameList = new NameList(Game.Instance.femaleNamesFile); } if (UnityEngine.Random.value > 0.5f) { return(maleNameList.Next()); } return(femaleNameList.Next()); }