Ejemplo n.º 1
0
        void Start()
        {
            if (!mModeSetted)
            {
                mSharedMode = Mode;
                mModeSetted = true;
            }
            switch (mSharedMode)
            {
            case EnviromentMode.Developing:
                LaunchInDevelopingMode();
                break;

            case EnviromentMode.Test:
                LaunchInTestMode();
                break;

            case EnviromentMode.Production:
                LaunchInProductionMode();
                break;

            default:
                break;
            }
        }
Ejemplo n.º 2
0
        private void Start()
        {
            if (!mModeSetted)
            {
                mShareMode  = mMode;
                mModeSetted = true;
            }
            else
            {
                mMode = mShareMode;
            }

            switch (mShareMode)
            {
            case EnviromentMode.Developing:
                LaunchInDevelopingMode();
                break;

            case EnviromentMode.Test:
                LaunchInTestMode();
                break;

            case EnviromentMode.Production:
                LaunchInProductionMode();
                break;
            }
        }
Ejemplo n.º 3
0
        private void Start()
        {
            if (!_modeSetted)
            {
                _sharedMode = mode;
                _modeSetted = true;
            }
            switch (_sharedMode)
            {
            case EnviromentMode.Developing:
                LaunchInDevelopingMode();
                break;

            case EnviromentMode.Production:
                LaunchInProductionMode();
                break;

            case EnviromentMode.Test:
                LaunchInTestMode();
                break;
            }
        }