Dedicated large inspection art for graphics cards
192x128 drawings made for the magnifier tray instead of enlarging the 48x32 item sprite: nine-blade fans, fin stack, heat pipes, power connector, PCB parts, per-contact gold fingers; back with brushed backplate, QR and barcode sticker, seal. Appearance overlays share coordinates with the base. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
No files matched your search
@@ -94,15 +94,17 @@ namespace Decentralized
|
||||
var keys = new List<string>();
|
||||
string baseKey = Items.LookKeys(item, keys);
|
||||
keys.Insert(0, baseKey);
|
||||
foreach (var k in keys)
|
||||
foreach (var small in keys)
|
||||
{
|
||||
// 检视用大图:键名对应小图(gpu_probidia_f → gpu_big_probidia_f,gpu_ov_fan1 → gpu_big_ov_fan1)
|
||||
string k = small.StartsWith("gpu_ov_") ? "gpu_big_ov_" + small.Substring("gpu_ov_".Length) : "gpu_big_" + small.Substring("gpu_".Length);
|
||||
var sprite = Items.ModSprite(k);
|
||||
if (sprite == null) continue;
|
||||
var go = new GameObject(k, typeof(RectTransform), typeof(Image));
|
||||
var rt = go.GetComponent<RectTransform>();
|
||||
rt.SetParent(cardRoot, false);
|
||||
rt.sizeDelta = new Vector2(sprite.rect.width, sprite.rect.height);
|
||||
rt.localScale = Vector3.one * 14f;
|
||||
rt.localScale = Vector3.one * 4f;
|
||||
var img = go.GetComponent<Image>();
|
||||
img.sprite = sprite;
|
||||
img.raycastTarget = false;
|
||||
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 290 B |
|
After Width: | Height: | Size: 238 B |
|
After Width: | Height: | Size: 1011 B |
|
After Width: | Height: | Size: 291 B |
|
After Width: | Height: | Size: 285 B |
|
After Width: | Height: | Size: 983 B |
|
After Width: | Height: | Size: 534 B |
|
After Width: | Height: | Size: 311 B |
|
After Width: | Height: | Size: 300 B |
|
After Width: | Height: | Size: 303 B |
|
After Width: | Height: | Size: 323 B |
|
After Width: | Height: | Size: 313 B |
|
After Width: | Height: | Size: 301 B |
|
After Width: | Height: | Size: 305 B |
|
After Width: | Height: | Size: 301 B |
|
After Width: | Height: | Size: 330 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 291 B |
|
After Width: | Height: | Size: 293 B |
|
After Width: | Height: | Size: 298 B |
|
After Width: | Height: | Size: 299 B |
|
After Width: | Height: | Size: 292 B |
|
After Width: | Height: | Size: 288 B |
|
After Width: | Height: | Size: 287 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 291 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |