mirror of
https://github.com/hykilpikonna/AquaDX.git
synced 2026-04-24 23:07:22 -05:00
[O] Disable MipMap
This commit is contained in:
parent
86fc53b1ba
commit
916a95a8f1
|
|
@ -68,7 +68,7 @@ public class LoadAssetsPng
|
|||
return null;
|
||||
}
|
||||
|
||||
var texture = new Texture2D(1, 1);
|
||||
var texture = new Texture2D(1, 1, TextureFormat.RGBA32, false);
|
||||
texture.LoadImage(File.ReadAllBytes(path));
|
||||
return texture;
|
||||
}
|
||||
|
|
@ -125,7 +125,7 @@ public class LoadAssetsPng
|
|||
var filename = genre.FileName.ToLowerInvariant();
|
||||
var locPath = localAssetsContents.TryGetValue(filename, out var laPath) ? laPath : tabTitlePaths.GetValueOrDefault(filename);
|
||||
if (locPath is null) continue;
|
||||
var texture = new Texture2D(1, 1);
|
||||
var texture = new Texture2D(1, 1, TextureFormat.RGBA32, false);
|
||||
texture.LoadImage(File.ReadAllBytes(locPath));
|
||||
____genreSprite[id] = Sprite.Create(texture, new Rect(0, 0, texture.width, texture.height), new Vector2(0.5f, 0.5f));
|
||||
}
|
||||
|
|
@ -137,7 +137,7 @@ public class LoadAssetsPng
|
|||
var filename = version.FileName.ToLowerInvariant();
|
||||
var locPath = localAssetsContents.TryGetValue(filename, out var laPath) ? laPath : tabTitlePaths.GetValueOrDefault(filename);
|
||||
if (locPath is null) continue;
|
||||
var texture = new Texture2D(1, 1);
|
||||
var texture = new Texture2D(1, 1, TextureFormat.RGBA32, false);
|
||||
texture.LoadImage(File.ReadAllBytes(locPath));
|
||||
____versionSprite[id] = Sprite.Create(texture, new Rect(0, 0, texture.width, texture.height), new Vector2(0.5f, 0.5f));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@ namespace AquaMai.Utils;
|
|||
|
||||
public class PractiseModeUI : MonoBehaviour
|
||||
{
|
||||
private GUIWindow window;
|
||||
|
||||
private float playerWidth;
|
||||
private float playerCenter;
|
||||
private float windowTop;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user