Пример #1
0
 void StartGlide()
 {
     Force.BackForce(this.gameObject, host.DirectionCurrent, speed, time);
     Illusion.Create(this.GetComponent <SpriteRenderer>(), time, (int)(speed * density));
     host.LockMove.Register(codeSkill);
     host.LockAttack.Register(codeSkill);
     host.LockColliderTakeDamage.Register(codeSkill);
     Invoke("SkillComplete", time);
 }
Пример #2
0
 protected virtual void VFXTookDamage(DamageData damadata)
 {
     Force.BackForce(gameObject, damadata.Direction, damadata.BackForce, 0.2f);
 }