Esempio n. 1
0
 private void disable(ModuleEngines m)
 {
     m.Shutdown();
     m.DeactivateRunningFX();
     m.DeactivatePowerFX();
     m.enabled = false;
 }
Esempio n. 2
0
    // "Shutdown Engine"
    public void Shutdown()
    {
        if (engineType == EngineModuleType.UNKNOWN)
        {
            return;
        }

        engine.Shutdown();
        engine.DeactivateRunningFX();
        engine.DeactivatePowerFX();
    }
Esempio n. 3
0
    public void Shutdown()
    {
        if (engineType == EngineModuleType.UNKNOWN)
        {
            return;
        }

        if (engineType == EngineModuleType.ENGINE)
        {
            engine.Shutdown();
            engine.DeactivateRunningFX();
            engine.DeactivatePowerFX();
        }
        else
        {
            engineFX.Shutdown();
            engineFX.DeactivateLoopingFX();
        }
    }
Esempio n. 4
0
 private void disable(ModuleEngines m)
 {
     m.Shutdown();
     m.DeactivateRunningFX();
     m.DeactivatePowerFX();
     m.enabled = false;
 }