using UnityEngine; namespace Streamingle.Effects { /// /// 변신 연출 프리셋. VFX 프리팹/SFX 클립/컬러 플래시 파라미터처럼 재사용 가능한 설정을 담는다. /// 씬 종속 참조(앵커 Transform, AudioSource) 는 각 OutfitData.transformEffect 에서 개별 지정. /// Assets > Create > Streamingle > Transform Effect Preset 으로 생성. /// [CreateAssetMenu(fileName = "TransformEffectPreset", menuName = "Streamingle/Transform Effect Preset", order = 400)] public class TransformEffectPreset : ScriptableObject { [Header("VFX")] [Tooltip("변신 순간 스폰할 파티클 프리팹 (예: Light Of Rebirth.prefab)")] public GameObject vfxPrefab; [Min(0f)] public float vfxLifetime = 3f; [Header("SFX")] public AudioClip sfxClip; [Range(0f, 1f)] public float sfxVolume = 1f; [Header("Color Flash (perCharacterLerp)")] public bool useColorFlash = true; [ColorUsage(false, true)] public Color flashColor = Color.white; [Range(0f, 1f)] public float flashIntensity = 1f; [Min(0f)] public float flashInDuration = 0.35f; [Min(0f)] public float flashOutDuration = 0.5f; } }