private static void DrawMeshNowOrLaterPatch(Mesh mesh, Vector3 loc, Quaternion quat, Material mat, bool drawNow) { //Log.Warning($"DrawMeshNowOrLaterPatch {mat.name}"); if (!skipDontShaveHead && Settings.UseDontShaveHead && HairUtilityFactory.GetHairUtility().TryGetCustomHairMat(pawn, headFacing, out Material m)) { mat = m; //Log.Warning($"-UseDontShaveHead {mat.name}"); } GenDraw.DrawMeshNowOrLater(mesh, loc, quat, mat, drawNow); }
public SettingsController(ModContentPack content) : base(content) { Settings = base.GetSettings <Settings>(); HairUtilityFactory.GetHairUtility(); }