Initial commit

This commit is contained in:
2026-06-02 18:57:47 -04:00
commit 59d26a915d
268 changed files with 41240 additions and 0 deletions
@@ -0,0 +1,21 @@
using UnityEngine;
using UnityEngine.TestTools;
namespace BracerLib.Editor.Utility
{
[ExcludeFromCoverage]
public static class TextureUtility
{
public static Texture2D MakeTexture(int width, int height, Color color)
{
var pixels = new Color[width * height];
for (var i = 0; i < pixels.Length; i++)
pixels[i] = color;
var tex = new Texture2D(width, height);
tex.SetPixels(pixels);
tex.Apply();
return tex;
}
}
}