архитектура для текстурного атласа

This commit is contained in:
vladislove committed 2026-08-07 22:55:13 +03:00
1 parent 162ead8eeb
commit f84e9a79f1
77 files changed
+14053 -1

No files matched your search

@@ -0,0 +1,14 @@
using UnityEngine;
[CreateAssetMenu(fileName = "NewAtlasStyle", menuName = "Furniture/Atlas Style")]
public class AtlasStyleSO : ScriptableObject
{
public string styleName;
public Sprite uiIcon; // Иконка для кнопки в меню раскраски
[Tooltip("X,Y - Tiling; Z,W - Offset")]
public Vector4 atlasRect = new Vector4(1, 1, 0, 0);
[Header("Для предпросмотра в редакторе")]
public Texture2D previewAtlas; // Сюда вы перетащите ваш BaseMap атлас
}