特效处理

This commit is contained in:
2026-10-20 18:30:03 +08:00
parent 40bd235e67
commit bee2d42356
131 changed files with 837 additions and 456 deletions
@@ -0,0 +1,15 @@
using UnityEditor;
using UnityEngine;
public class AtlasImporter : AssetPostprocessor
{
void OnPreprocessAsset()
{
if (assetPath.EndsWith(".atlas"))
{
var text = System.IO.File.ReadAllText(assetPath);
var textAsset = new TextAsset(text);
AssetDatabase.CreateAsset(textAsset, assetPath + ".asset");
}
}
}