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));
        }
Пример #2
0
        public CustomHeadType FindHeadType(ThingDef race, string graphicsPath)
        {
            OptionsHeadType headTypes = GetHeadTypesForRace(race);

            return(headTypes.FindHeadTypeByGraphicsPath(graphicsPath));
        }