示例#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();
        }
示例#2
0
 public void NightVision()
 {
     DemoMain.PlaySFX(7);
     _fxNightVision.Start();
 }
示例#3
0
 public void Thermal()
 {
     DemoMain.PlaySFX(7);
     _fxThermal.Start();
 }
示例#4
0
 public void FlashScreenWhite()
 {
     _fxDistortion.Start();
 }
示例#5
0
 public override void OnEnter()
 {
     _fxID.Start(effectTimeScale.Value);
     Finish();
 }
示例#6
0
 //==================================================================================================
 public static void StartShieldHit(float ivx, float ivy)
 {
     _shockWave.ShockWaveCenter(0, ivx, ivy);
     _shockWave.Start();
     _shieldHit.Start();
 }