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

This commit is contained in:
SepComet
2026-06-16 17:09:19 +08:00
committed by basil
parent 734f2cd5af
commit d28ccaa7f9
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();
}
}
}