Skip to content

Instantly share code, notes, and snippets.

View yujen's full-sized avatar

YujenDev yujen

  • Taiwan
View GitHub Profile
@yujen
yujen / SeniaAnimationEventEditor.cs
Last active March 1, 2024 02:36
Unity animation event editing tool.
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using UnityEngine;
using UnityEditor;
@yujen
yujen / Sprites-Additive.shader
Last active August 2, 2023 10:29
Additive color tint sprite shader modified from Unity built-in Sprites-Default.shader
Shader "Sprites/Additive"
{
Properties
{
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {}
_Color ("Additive Tint", Color) = (1,1,1,1)
[MaterialToggle] PixelSnap ("Pixel snap", Float) = 0
}
SubShader