Exemple #1
0
        protected override void Update(WeaponBaseAgent heldBaseAgent, WeaponSideCmd cmd)
        {
            var config           = heldBaseAgent.FixedSpreadLogicCfg;
            var runTimeComponent = heldBaseAgent.RunTimeComponent;

            FireSpreadFormula.ApplyFixedFinalSpread(config.Value, config.SpreadScale, runTimeComponent);
        }
        protected override void Update(WeaponAttackProxy attackProxy, WeaponSideCmd cmd)
        {
            var config = attackProxy.WeaponConfigAssy.S_FixedSpreadLogicCfg;

            FireSpreadFormula.ApplyFixedFinalSpread(config.Value, config.SpreadScale, attackProxy.RuntimeComponent);
        }