Class RangedEffect
It represents an attack that does needs to create a Projectile
Inherited Members
Namespace: AutoBattleFramework.Skills
Assembly: cs.temp.dll.dll
Syntax
public abstract class RangedEffect : IAttackEffect
Fields
projectile
Object that will move until it hits the target.
Declaration
public Projectile projectile
Field Value
| Type | Description |
|---|---|
| Projectile |
speed
Projectile moving speed.
Declaration
public float speed
Field Value
| Type | Description |
|---|---|
| Single |
Methods
SpawnProjectile()
Instantiate the Projectile and sets its properties.
Declaration
protected abstract Projectile SpawnProjectile()
Returns
| Type | Description |
|---|---|
| Projectile | The Instantiated projectile |