Skip to content

Instantly share code, notes, and snippets.

View pabloolvr's full-sized avatar

Pablo Oliveira pabloolvr

View GitHub Profile
@pabloolvr
pabloolvr / ExportBuiltinUISprites
Created January 21, 2026 17:48 — forked from chrisyarbrough/ExportBuiltinUISprites
Demonstrates how to copy and import Unity's standard UI sprites into a project. This can be useful if the builtin sprites need to be modified or placed onto an atlas.
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public static class ExportBuiltinUISprites
{
private const string outputDirectory = "Assets/Graphics/";