Exemple #1
0
        public override void ActivateFuncButton()
        {
            EditorScene scene = (EditorScene)Systems.scene;

            scene.SwitchRoom(0);
            UIHandler.AddNotification(UIAlertType.Normal, "Switched Room", "Switched to Home Room.", 180);
            GameValues.LastAction = "EditorHomeButton";
        }
Exemple #2
0
        public override void ActivateFuncButton()
        {
            EditorScene scene = (EditorScene)Systems.scene;

            if (scene.curRoomID > 0)
            {
                scene.SwitchRoom((byte)(scene.curRoomID - 1));
                UIHandler.AddNotification(UIAlertType.Normal, "Switched Room", "Now Viewing Room #" + (scene.curRoomID + 1) + ".", 180);
                GameValues.LastAction = "EditorRoomLeftButton";
            }
        }