public GraphicSetter(ModContentPack content) : base(content) { Log.Message("Graphics Setter - Loaded"); settings = GetSettings <GraphicsSettings>(); Harmony graphics = new Harmony("com.telefonmast.graphicssettings.rimworld.mod"); graphics.PatchAll(); }
static bool Prefix(VirtualFile file, ref Texture2D __result) { GraphicsSettings.LoadTexture(file, ref __result); return(false); }