diff options
author | chai <chaifix@163.com> | 2020-11-16 21:08:39 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-11-16 21:08:39 +0800 |
commit | 01f06fb513dab303abeb02d7e1007e397874bcc0 (patch) | |
tree | 4df198ef7829471831fcf0c9361b773ea9501d2f /Assets/Scripts/Test/SaionjiScript_States.cs | |
parent | ac2b469bd76d7d91d10894184cbddad0796ce7bc (diff) |
*misc
Diffstat (limited to 'Assets/Scripts/Test/SaionjiScript_States.cs')
-rw-r--r-- | Assets/Scripts/Test/SaionjiScript_States.cs | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Assets/Scripts/Test/SaionjiScript_States.cs b/Assets/Scripts/Test/SaionjiScript_States.cs index 0c733cd6..ce9fb8a6 100644 --- a/Assets/Scripts/Test/SaionjiScript_States.cs +++ b/Assets/Scripts/Test/SaionjiScript_States.cs @@ -40,13 +40,15 @@ public partial class SaionjiScript : Avatar AttackState airDash = new AttackState(animator, Anim_AirDash, m_Body); - AttackStateConfig config; - - //招式会绑定一个motion - HitDefination hitDef = new HitDefination - {
+ AttackStateConfig config;
+
+ //招式会绑定一个motion
+ HitDefination hitDef = new HitDefination
+ {
type = HitType.Air, - hurtAddForce = new Vector3(0, 20000, 0)
+ hurtAddForce = new Vector3(0, 20000, 0),
+ sparkName = "Bullet_WhiteSpark",
+ sparkHostType = HitSparkHost.Center
}; AttackState attk1 = new AttackState(animator, Anim_LightAttack1, m_Body); attk1.AddHitDefination(hitDef); @@ -79,7 +81,9 @@ public partial class SaionjiScript : Avatar hitDef = new HitDefination { type = HitType.Air, - hurtAddForce = new Vector3(0,10000,0) + hurtAddForce = new Vector3(0,10000,0),
+ sparkName = "Bullet_WhiteSpark",
+ sparkHostType = HitSparkHost.Center }; airAttk1.AddHitDefination(hitDef); |