Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }