public static string[] GetNames(System.Type dnaType) { if (dnaType == typeof(UMADnaHumanoid)) { return(UMADnaHumanoid.GetNames()); } return(new string[0]); }
public static string[] GetNames(System.Type dnaType) { if (dnaType == typeof(UMADnaHumanoid)) { return(UMADnaHumanoid.GetNames()); } if (dnaType == typeof(UMADnaTutorial)) { return(UMADnaTutorial.GetNames()); } if (dnaType == typeof(DynamicUMADna)) { return(DynamicUMADna.GetNames()); } return(new string[0]); }