-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undo-Redo System #576
Open
zeynebGueven
wants to merge
96
commits into
develop
Choose a base branch
from
MinusEins/development
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Undo-Redo System #576
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Unity UserSettings should not be tracked by git, as they are personalized for each user. Because of that, the files themselves, as well as their tracking in the .gitignore file, have been removed.
Inside of the Main Menu on the left side a third button called "Undo-Redo Menu" is created.
Created a Prefab Menu called UndoRedoMenu, which contains a bar at the top and 4 buttons, "Follow Me", "Close", "Undo" and "Redo".
Upon pressing the UndoRedoButton the corresponding Menu appears. Added both the menu and button to the MainMenu Script
The UndoRedoMenu Prefab is integrated into WindowMangager.cs by creating a script UndoRedoMenu, which inherits from IWindow. Additionally, the close button now works by calling the Close() function defined by IWindow.
- Added Rotation Axis, Apparent Size and FollowMeToggle Constraints to the UndoRedoMenu - The FollowMe Button now activates/disables the FollowMeToggle Constraint, but starts disabled
The Command/Command Processor was implemented. The Interface ICommand represents various commands and can only be Executed/Reversed. The CommandProcessor keeps track of the commands in a list and can Execute/Undo/Redo them.
The [SerializeField] reference to the UndoRedoMenu Prefab from the WindowManager got reset. This was fixed.
The CommandController is used to manage an instance of the CommandProcessor. The new CreateMenuCommand will Open/Close menus, although for now it is limited to the UndoRedoMenu
Ich habe begonnen, das Undo Feature auf die Kanban Griffe anzuwenden (beim Skalieren). Momentan gibt es da noch einen Fehler.
Es funktioniert nun Undo, also, dass sich das Kanban Board zurückskaliert und positioniert :)
Undo für Progressbar ist in Arbeit
…eben (funktioniert noch nicht)
…ground Material noch nicht und Logik fehlt noch (wann grau wann blau). Arbeite später weiter
… Redo Funktion auf
…+ implementiert. Funktioniert noch nicht
The text color of the TextMeshPro containing the current command will be set to red.
* the executed commands will now have an description * jumping between commands now possible * Changed formatting * Changed negative scale of SelectionCubes to positive
…for adding actions to undo-redo-system.
* removed unnesescary directives * refactored files * added summaries * reset ProjectPreferences
Changed Undo Button design, added Command to Avatar Controller
zeynebGueven
added
the
mixed-reality-lab
An issue of a project in the mixed reality lab
label
Jan 29, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
implemented undo-redo-system