diff options
author | chai <chaifix@163.com> | 2021-10-01 19:14:01 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-01 19:14:01 +0800 |
commit | d9f2bb30c5d0eb8e8513a0e16e13e3c4f2af89e1 (patch) | |
tree | fafd4c30b3de44d7aa74d99d5293a39688375e9b /Assets/Scripts/Unit/Components/UnitLensEffect_Effects.cs | |
parent | 4a5ca9210f40d454aeef3e9423914fa6ffe4aabc (diff) |
*misc
Diffstat (limited to 'Assets/Scripts/Unit/Components/UnitLensEffect_Effects.cs')
-rw-r--r-- | Assets/Scripts/Unit/Components/UnitLensEffect_Effects.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Assets/Scripts/Unit/Components/UnitLensEffect_Effects.cs b/Assets/Scripts/Unit/Components/UnitLensEffect_Effects.cs new file mode 100644 index 00000000..31d3c549 --- /dev/null +++ b/Assets/Scripts/Unit/Components/UnitLensEffect_Effects.cs @@ -0,0 +1,13 @@ +using UnityEngine; +using UnityEngine.Rendering; + +public partial class UnitLensEffect : UnitComponent +{
+
+ public void Dash(Color color, float lifeTime, float angle, UnitSnapshotInfo snapshot)
+ {
+ LensEffect_Dash dash = new LensEffect_Dash(color, lifeTime, angle, snapshot);
+ owner.unitLensEffect.AddEffect(dash);
+ }
+
+}
\ No newline at end of file |