1
0
forked from akanyan/mu3-mods

feat(MPO): add textures and fix an edge case

This commit is contained in:
2024-12-27 20:11:39 +00:00
parent 076fb75a6d
commit c6884bff7e
12 changed files with 2664 additions and 41 deletions

View File

@ -22,7 +22,9 @@ class patch_UISortButton: UISortButton {
}
Texture2D tex = new Texture2D(2, 2);
tex.LoadImage(Mod.InternalSortPreview.Bytes);
tex.LoadImage(Mod.InternalSortTexture.Bytes);
tex.anisoLevel = 1;
tex.filterMode = FilterMode.Bilinear;
newSprites[n] = Sprite.Create(tex, new Rect(0, 0, 254, 121), newSprites[0].pivot);