Skip to content

Instantly share code, notes, and snippets.

View xinbot's full-sized avatar

Lam Yum xinbot

  • China
View GitHub Profile
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEditor.U2D.Sprites;
using UnityEngine;
public class UIEmojiTools : Editor
{
private static readonly List<SpriteRect> _spriteRects = new();
private static List<Sprite> _sprites = new ();
Shader "Hidden/JumpFloodOutline"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
}
SubShader
{
Tags { "PreviewType" = "Plane" }
Cull Off ZWrite Off ZTest Always