public void CopyTo(ProjectileData other) { if (other.damage == null) { other.damage = new DamageInfo(); } damage.CopyTo(other.damage); other.speed = speed; other.acceleration = acceleration; other.maxSpeed = maxSpeed; other.target = target; other.angularSpeed = angularSpeed; }
public void CopyTo(RayShooterData other) { base.CopyTo(other); damage.CopyTo(other.damage); }