public ProjectileInfo(string prefabName, ProjectileSpreadType spreadType, int projectileCount, float error, float burstDelay) { this.prefabName = prefabName; this.spreadType = spreadType; this.projectileCount = projectileCount; this.error = error; this.burstDelay = burstDelay; }
public ProjectileInfo(string prefabName, ProjectileSpreadType spreadType, int projectileCount, float error, float burstDelay, bool addInitialForce, AddForceInfo?initialForce = null) { this.prefabName = prefabName; this.spreadType = spreadType; this.projectileCount = projectileCount; this.error = error; this.burstDelay = burstDelay; this.addInitialForce = addInitialForce; this.initialForce = initialForce ?? new AddForceInfo(); }