public static void TransformInto_Prefix(CompWerewolf __instance) { if (!__instance.Pawn.GetCompFace(out CompFace compFace)) { return; } compFace.Deactivated = true; }
public static void TransformBack_Postfix(CompWerewolf __instance) { if (!__instance.Pawn.GetCompFace(out CompFace compFace)) { return; } compFace.Deactivated = false; __instance.Pawn.Drawer.renderer.graphics.nakedGraphic = null; }