迁移 Coin/Exp/Projectile/Effect 实体的生成路径
This commit is contained in:
+3
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user