コード例 #1
0
        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();
        }
コード例 #2
0
 static bool Prefix(VirtualFile file, ref Texture2D __result)
 {
     GraphicsSettings.LoadTexture(file, ref __result);
     return(false);
 }