Exemplo n.º 1
0
        public override void OnEnter()
        {
//			_fxID.ShockWaveCenter ( 0, effectCenterX.Value / (float)Screen.width, effectCenterY.Value / (float)Screen.height );
            _fxID.ShockWaveCenter(0, effectCenterX.Value, effectCenterY.Value);
            _fxID.Start(effectTimeScale.Value);
            Finish();
        }
Exemplo n.º 2
0
 public void NightVision()
 {
     DemoMain.PlaySFX(7);
     _fxNightVision.Start();
 }
Exemplo n.º 3
0
 public void Thermal()
 {
     DemoMain.PlaySFX(7);
     _fxThermal.Start();
 }
Exemplo n.º 4
0
 public void FlashScreenWhite()
 {
     _fxDistortion.Start();
 }
Exemplo n.º 5
0
 public override void OnEnter()
 {
     _fxID.Start(effectTimeScale.Value);
     Finish();
 }
Exemplo n.º 6
0
 //==================================================================================================
 public static void StartShieldHit(float ivx, float ivy)
 {
     _shockWave.ShockWaveCenter(0, ivx, ivy);
     _shockWave.Start();
     _shieldHit.Start();
 }