public void Clean(NodeRemoveEvent evt, SelfDeadTankNode deadTank, [JoinByTank] StreamWeaponNode idleWeapon) { Entity entity = idleWeapon.Entity; entity.RemoveComponentIfPresent <StreamWeaponIdleComponent>(); entity.RemoveComponentIfPresent <StreamWeaponWorkingComponent>(); }
public void SwitchToNormalMode(NodeAddedEvent evt, SelfDeadTankNode tank, SoundListenerNode listener) { listener.healthFeedbackSoundListener.SwitchToNormalHealthMode(); }
public void DisableHealthVignette(NodeAddedEvent evt, SelfDeadTankNode tank, ReadyBattleCameraNode camera) { camera.healthFeedbackCameraPrepared.TargetIntensity = 0f; }