14 lines
807 B
C#
14 lines
807 B
C#
|
|
using UnityEditor;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
// 잔상 기운 프리팹(2026-11-20 PD 「장각의 스킬로 피격 불가 상태가 되면 장각의 모습도 마치 잔상처럼」) — 그림 없는 빈 오브젝트 + TKS.SkillVfxGhost(붙은 유닛 몸 그림을 반투명·옅은 푸른빛으로 일렁이게) ·
|
||
|
|
// 표 aura 행으로 띄우면 SkillVfxLoops 가 효과 동안 유닛 아래에 붙여 둠 · 끝나면 떼어 내며 원래 색.
|
||
|
|
// 실행: unity command --project-path . --timeout 300 script eval --file Tools/build_ghost.cs
|
||
|
|
string dst = "Assets/Resources/Fx/TKS_Fx_C_Ghost.prefab";
|
||
|
|
var root = new GameObject("TKS_Fx_C_Ghost");
|
||
|
|
root.AddComponent<TKS.SkillVfxGhost>();
|
||
|
|
PrefabUtility.SaveAsPrefabAsset(root, dst);
|
||
|
|
Object.DestroyImmediate(root);
|
||
|
|
AssetDatabase.SaveAssets();
|
||
|
|
return "ok " + dst;
|