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

        engine.Shutdown();
        engine.DeactivateRunningFX();
        engine.DeactivatePowerFX();
    }
示例#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();
        }
    }
示例#4
0
 private void disable(ModuleEngines m)
 {
     m.Shutdown();
     m.DeactivateRunningFX();
     m.DeactivatePowerFX();
     m.enabled = false;
 }