예제 #1
0
 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);
 }
예제 #2
0
        public SettingsController(ModContentPack content) : base(content)
        {
            Settings = base.GetSettings <Settings>();

            HairUtilityFactory.GetHairUtility();
        }