public CustomHeadType FindHeadType(ThingDef race, string graphicsPath) { OptionsHeadType headTypes = GetHeadTypesForRace(race); //Logger.Debug("headTypes: \n" + String.Join("\n", headTypes.headTypes.ToList().ConvertAll(t => t.GraphicPath))); return(headTypes.FindHeadTypeByGraphicsPath(graphicsPath)); }
public CustomHeadType FindHeadType(ThingDef race, string graphicsPath) { OptionsHeadType headTypes = GetHeadTypesForRace(race); return(headTypes.FindHeadTypeByGraphicsPath(graphicsPath)); }