public void StopLifestealGraphicEfect(PlayEmergencyProtectionShaderEffectEvent evt, LifestealTankReadyNode tank) { tank.lifestealGraphicsEffect.StopEffect(); }
public void StopHealingGraphicEfect(PlayEmergencyProtectionShaderEffectEvent evt, HealingTankReadyNode tank) { tank.healingGraphicEffect.StopEffect(); }
public void StartEmergencyProtectionEffect(PlayEmergencyProtectionShaderEffectEvent evt, ReadyTankInvisibilityEffectIdleStateNode tank) { tank.simpleEmergencyProtectionGraphicEffect.StartEffect(tank.tankShader.TransparentShader, 0f); }
public void StartEmergencyProtectionEffect(PlayEmergencyProtectionShaderEffectEvent evt, ReadyTankInvisibilityEffectWorkingStateNode tank) { tank.simpleEmergencyProtectionGraphicEffect.StartEffect(tank.tankInvisibilityEffectUnity.InvisibilityEffectShader, 0f); }
public void PrepareEmergencyProtectionEffect(PlayEmergencyProtectionShaderEffectEvent evt, ActiveTankReadyNode tank) { base.ScheduleEvent(new AddTankShaderEffectEvent(ClientGraphicsConstants.EMERGENCY_PROTECTION_EFFECT, false), tank); }