// using System; // using GAS.Runtime; // // namespace CoreGame.Render // { // [Serializable] // public class TaskCastSuppressorOneShot : InstantAbilityTask // { // public float radius; // public float duration; // public string prefabPath; // // public override void OnExecute(in TaskSpec self) // { // var ctx = self.abilitySpec.ctx; // SuppressorSrv.CreateSuppressorEntityByAbility(ctx, radius, duration, prefabPath); // } // } // }