public virtual void Build(HullSoundEngineController engine, AbstractRPMSoundModifier abstractRPMSoundModifier, RPMSoundBehaviour rpmSoundBehaviour)
        {
            RPMVolumeUpdaterFinishBehaviour component = base.gameObject.GetComponent <RPMVolumeUpdaterFinishBehaviour>();

            if (component != null)
            {
                DestroyImmediate(component);
            }
            this.engine            = engine;
            this.parentModifier    = abstractRPMSoundModifier;
            this.rpmSoundBehaviour = rpmSoundBehaviour;
        }
 public override void Build(HullSoundEngineController engine, AbstractRPMSoundModifier abstractRPMSoundModifier, RPMSoundBehaviour rpmSoundBehaviour)
 {
     base.Build(engine, abstractRPMSoundModifier, rpmSoundBehaviour);
     this.rpmVolumeUpdaterFinishBehaviour = base.gameObject.AddComponent <RPMVolumeUpdaterFinishBehaviour>();
     this.rpmVolumeUpdaterFinishBehaviour.Build(base.parentModifier.Source);
 }