Skip to content

Instantly share code, notes, and snippets.

@AliAlbarrak
AliAlbarrak / SpriteAtlasGenerator.cs
Last active April 23, 2025 10:35
Auto generate Unity's SpriteAtlas per scene and per asset bundle [WIP]
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEditor.AddressableAssets;
using UnityEditor.AddressableAssets.Settings;
using UnityEditor.AddressableAssets.Settings.GroupSchemas;
using UnityEditor.U2D;
using UnityEngine;
using UnityEngine.U2D;