多轮审查和修复

This commit is contained in:
2026-05-12 15:34:08 +08:00
parent f55d2a57c3
commit ebbbb7332e
805 changed files with 838724 additions and 1905 deletions

View File

@@ -0,0 +1,19 @@
// Assets/Scripts/VFX/IVFXPoolService.cs
// VFX 对象池服务接口,通过 ServiceLocator 注册与查询。
// VFXPool 实现此接口;调用方通过接口解耦。
using UnityEngine;
using UnityEngine.AddressableAssets;
namespace BaseGames.VFX
{
public interface IVFXPoolService
{
void Play(AssetReferenceGameObject vfxRef,
Vector3 position,
Quaternion rotation = default,
float maxLifetime = 0f);
void Warmup(AssetReferenceGameObject vfxRef, int count);
}
}