textures load!!!

This commit is contained in:
tresabhi committed 2026-06-09 12:48:52 -05:00
1 parent a348e005f7
commit 05dd4dbd98
3 files changed
+11 -2

No files matched your search

+7
View File
@@ -107,6 +107,13 @@ public partial class GameInterface
public List<string> Textures => [.. texturePaths.Keys];
public byte[] Texture(string name)
{
var path = texturePaths[name];
var texture = provider.LoadPackageObject<UTexture2D>(path);
return provider.Image(texture);
}
public HashSet<string> Files => files;
public byte[] TankBigIcon(string tag)