Skip to content

Instantly share code, notes, and snippets.

@nemurigi
nemurigi / UdonSharpProgramAssetAutoGenerator.cs
Last active April 8, 2026 01:30
UdonSharpBehaviourのインポート時、対応するUdonSharpProgramAssetが存在しない場合に自動生成するAssetPostprocessor
// MIT License
// Copyright (c) 2026 nemurigi
using System;
using System.IO;
using System.Reflection;
using UdonSharp;
using UdonSharp.Compiler;
using UdonSharpEditor;
using UnityEditor;