protected override void InitAttackEffects() { AttackEffects = new List <AttackEffect>(); AddAttackEffect(new DamageAttackEffect()); var effect = new TrailEffectData("ArrowTrail", gameObject, FlightDuration + FlightDuration / 2); GameManager.Instance.SpecialEffectManager.PlayTrailEffect(effect); }
protected override void InitAttackEffects() { AttackEffects = new List <AttackEffect>(); AddAttackEffect(new DamageAttackEffect()); var trail = new TrailEffectData("SmokeTrail", gameObject, FlightDuration + 0.5f); GameManager.Instance.SpecialEffectManager.PlayTrailEffect(trail); }