迁移 Coin/Exp/Projectile/Effect 实体的生成路径

This commit is contained in:
SepComet
2026-06-06 15:13:52 +08:00
parent 4790bd0091
commit c8c26b8b2e
5 changed files with 53 additions and 45 deletions
@@ -1,6 +1,8 @@
using SepCore.Event;
using SepCore.Entity;
using SepCore.AsyncTask;
using SepCore.Entity.Weapon;
using Cysharp.Threading.Tasks;
using GameFramework.Event;
using UnityEngine;
@@ -127,7 +129,7 @@ namespace SepCore.Simulation
{
Position = args.HitPosition
};
entityComponent.ShowEffect(effectData);
entityComponent.ShowEffectAsync(effectData).Forget();
}
}
}