Skip to content

Instantly share code, notes, and snippets.

View CodySelman's full-sized avatar

Cody Selman CodySelman

View GitHub Profile
@CodySelman
CodySelman / SpritesheetSlicer.cs
Created October 21, 2021 00:43
Editor Tool for Unity that allows for easy bulk Spritesheet slicing
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class SpritesheetSlicer : ScriptableWizard
{
public bool mipmapEnabled = false;
public FilterMode filterMode = FilterMode.Point;
public Vector2 spritePivot = Vector2.zero;
public TextureImporterCompression textureImporterCompression = TextureImporterCompression.Uncompressed;