示例#1
0
        private static void StartHK(On.RainWorld.orig_Start orig, RainWorld self)
        {
            mainRW = self;
            try
            {
                if (MonklandSteamManager.instance == null)
                {
                    MonklandSteamManager.CreateManager();
                }
            }
            catch (Exception e)
            {
                Debug.Log(e);
            }

            orig(self);

            if (MonklandSteamManager.DEBUG)
            {
                self.buildType            = BuildType.Development;
                self.setup.devToolsActive = true;
            }
            else
            {
                self.buildType            = BuildType.Development;
                self.setup.devToolsActive = false;
            }
        }
示例#2
0
        public void Start()
        {
            mainRW = this;
            try
            {
                if (MonklandSteamManager.instance == null)
                {
                    MonklandSteamManager.CreateManager();
                }
            }
            catch (System.Exception e)
            {
                Debug.Log(e);
            }

            orig_Start();
            if (MonklandSteamManager.DEBUG)
            {
                this.buildType       = BuildType.Development;
                setup.devToolsActive = true;
            }
            else
            {
                this.buildType       = BuildType.Development;
                setup.devToolsActive = false;
            }
        }
示例#3
0
        public void Start()
        {
            patch_World.firstRoom = true;
            mainRW = this;
            try {
                if (MonklandSteamManager.instance == null)
                {
                    MonklandSteamManager.CreateManager();
                }
            } catch (System.Exception e) {
                Debug.Log(e);
            }


            orig_Start();
            this.buildType       = BuildType.Development;
            setup.devToolsActive = true;
        }