Example #1
0
 public static Material BeardMatAt(this PawnGraphicSet instance, Rot4 facing)
 {
     if (instance.BeardGraphic() is Graphic beardGraphic)
     {
         var baseMat = beardGraphic.MatAt(facing);
         return(instance.flasher.GetDamagedMat(baseMat));
     }
     return(null);
 }