mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
Minor fixes
This commit is contained in:
1 parent
7538ebe506
commit
c92716f3e5
4 files changed
-6
No files matched your search
@@ -84,7 +84,6 @@ namespace Core.DataLoader
|
||||
Texture2D texture = new Texture2D(_width, _height, _format, mipChain: false);
|
||||
texture.LoadRawTextureData(_rawData);
|
||||
texture.Apply();
|
||||
texture.alphaIsTransparency = true;
|
||||
return texture;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,7 +77,6 @@ namespace Core.DataLoader
|
||||
var texture = new Texture2D(_width, _height, TextureFormat.RGBA32, mipChain: false);
|
||||
texture.SetPixels32(_pixels);
|
||||
texture.Apply();
|
||||
texture.alphaIsTransparency = true;
|
||||
return texture;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,9 +121,6 @@ namespace Core.DataReader.Bmp
|
||||
|
||||
texture.SetPixels32(imageData);
|
||||
texture.Apply();
|
||||
|
||||
texture.alphaIsTransparency = true;
|
||||
|
||||
return texture;
|
||||
}
|
||||
|
||||
|
||||
@@ -512,7 +512,6 @@ namespace Pal3.Data
|
||||
|
||||
ITextureResourceProvider textureProvider = GetTextureResourceProvider(cursorSpriteRelativePath);
|
||||
Texture2D cursorTexture = textureProvider.GetTexture($"jt.tga");
|
||||
cursorTexture.alphaIsTransparency = true;
|
||||
return cursorTexture;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user