You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* DROP Enable UITK Asset Editor
* WIP Add Drag And Drop UI functionality
* SQUASH
* Add drag and drop respective manipulators to deal with UI events
* WIP Add data manipulation logic based on UI drag and drop actions
* fixed visualizations
* fixed reordering and drag between lists
* fixed focusing MapListItems during drag
* clean up branch
* clean up drag/drop
* implemented Drag & Drop between action tree view and action map list view
* cleared focus during drag/drop between lists
* fixed freeze after drag
* drag and drop of action maps to reorder ActionMap list
* WIP drag & drop of actions, bindings & composites
* fix after merge
* added moving of bindings and move composite (WIP)
* implemented move part of composites and fixed move binding to empty actions
* fixed moving bindings
* added discard drag on invalid
* fixed selection after drag & dragging bindings into actionMapView
* refactor & fixed not allow drag of composites to action maps
* fixed moving of composites
* fixed discard of drag between items
* change action name for composites
* fixed bindings are moved down one index to far
* added action item
* added changelog
* fix formatting & adjusted changelog
* refactor commands & fixed analyzer
* added comments and fixed accessibility
* added comments & named parameters to ActionsTreeView
* fixed formatting
* removed plus sign for dragging action to action map
* added safety check - fixed nullpointer for adding actions in empty action map
* fix picking of elements for dropping on ActionMapView
* fixed naming and enhanced break conditions for TreeViewDrag
* added safety assert & debug pasting bindings
* changed dropManipulator to be internal
---------
Co-authored-by: João Freire <[email protected]>
Copy file name to clipboardExpand all lines: Packages/com.unity.inputsystem/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ however, it has to be formatted properly to pass verification tests.
21
21
-[`InputAction.WasCompletedThisFrame`](xref:UnityEngine.InputSystem.InputAction.WasCompletedThisFrame) returns `true` on the frame that the action stopped being in the performed phase. This allows for similar functionality to [`WasPressedThisFrame`](xref:UnityEngine.InputSystem.InputAction.WasPressedThisFrame)/[`WasReleasedThisFrame`](xref:UnityEngine.InputSystem.InputAction.WasReleasedThisFrame) when paired with [`WasPerformedThisFrame`](xref:UnityEngine.InputSystem.InputAction.WasPerformedThisFrame) except it is directly based on the interactions driving the action. For example, you can use it to distinguish between the button being released or whether it was released after being held for long enough to perform when using the Hold interaction.
22
22
- Added Copy, Paste and Cut support for Action Maps, Actions and Bindings via context menu and key command shortcuts.
23
23
- Added Dual Sense Edge controller to be mapped to the same layout as the Dual Sense controller
24
+
- Added drag and drop support in the Input Action Asset Editor for Action Maps, Actions and Bindings.
24
25
- UI Toolkit input action editor now supports showing the derived bindings.
// the index of the composite part stays the same if composite was moved down as previous elements are shifted down (the index seems to update async so it's safer to use the oldIndex)
288
+
// if the composite was moved up, the index of the composite part is not changing so we are safe to use it
vartoSkip=GetNumberOfCompositePartItemsToSkip(bindingsForAction,childIndex,oldIndex);//skip composite parts if there are - avoid moving into a composite
newBindingIndex-=newBindingIndex>oldIndex&&!actionTo.Equals(actionFrom.stringValue)?1:0;// reduce index by one in case the moved binding will be shifted underneath to another action
0 commit comments