예제 #1
0
        private void ToggleOn()
        {
            if (GravityTurnAPI.GravityTurnActive)
            {
                Debug.Log("ToggleOn, GravityturnActive");
                return;
            }
            StyleFactory.NullIt();
            StyleFactory.Reload();
            NASA_CountDown.Config.ConfigInfo.Instance.InitNewConfig();
            Log.Info("ToggleOn");
            if (!_machine.Started)
            {
                _machine.StartFSM("Init");
            }
            else
            {
                _machine.RunEvent("Init");
            }

            saveLoadWinPos.LoadWindowPositions();
        }