Esempio n. 1
0
 public void StartRepairEffect(StartHealingGraphicsEffectEvent evt, ReadyTankInvisibilityEffectActivationStateNode tank)
 {
     tank.healingGraphicEffect.StartEffect(tank.tankInvisibilityEffectUnity.InvisibilityEffectTransitionShader, evt.Duration);
 }
 public void StartEmergencyProtectionEffect(PlayEmergencyProtectionShaderEffectEvent evt, ReadyTankInvisibilityEffectActivationStateNode tank)
 {
     tank.simpleEmergencyProtectionGraphicEffect.StartEffect(tank.tankInvisibilityEffectUnity.InvisibilityEffectTransitionShader, 0f);
 }
 public void PlayLifestealEffect(PlayLifestealGraphicsEffectEvent evt, ReadyTankInvisibilityEffectActivationStateNode tank)
 {
     tank.lifestealGraphicsEffect.StartEffect(tank.tankInvisibilityEffectUnity.InvisibilityEffectTransitionShader, 0f);
 }