// Assets/Scripts/Combat/IClashService.cs // 拼刀服务接口,通过 ServiceLocator 注册与查询。 // ClashResolver 实现此接口;HitBox 等调用方通过接口解耦。 namespace BaseGames.Combat { public interface IClashService { void ResolveClash(HitBox hitBoxA, HitBox hitBoxB); } }