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
CHANGE: Switch from InputManager.asset to asset-based storage for Project-wide actions (#1834)
* Replacing use of Inputmanager.asset with promoted InputActionsAsset
** Old settings in: ProjectSettings\InputManager.asset
** New settings in: Assets\InputSystem_Actions.inputactions
* Improved UX for the project wide input actions in project settings
* Added indication of selected project wide input actions asset
* Fixed up some styles for the header
* Fixed Editor_LeavingPlayMode_DestroysAllActionStates test for when InputSystem.actions is null
* Sanity checks added to project wide input actions
* Removed redundant code for saving InputActionAssets and relocated to InputActionAssetManager. Eliminated redundant dialog strings by utilising a common utility function regardless of editor framework.
* Reset behavior is an in-memory operation that is undoable.
* Added clear menu option to quickly clean up default asset if desirable. Modified CopyPasteHelpers, SerializationHelpers to allow using buffer modification for any string buffer.
* Moved access to physical path to helper to avoid #ifdef in code.
* Code added to migrate InputSystem's project-wide action assets from InputManager asset
** Only try to migrate project-wide input action assets from InputManager.asset file once.
* Updated InputActionAsset and InputActionReference property drawers
**Project wide input action assets now shown in separate column in InputActionAsset view like the InputActionReference view.
**Removed the dropdown to select between at the top level since that's not so intuitive when the project wide asset reference can change.
* Removed a fix for ISX-1721 which is having a side effect of limiting nesting in hierarchy
* Project Settings Input Action Edito handles deleting assets while being open. Reenabled and updated and added some unit tests for related asset management.
* Added confirmation box on creating an new asset that would overwrite an existing
* Made sure project wide input actions are enabled on entering play mode
* Disable project wide input actions on exit play mode (well enter edit mode)
* Temporarily disabled ProjectWideActions_ThrowsWhenAddingOrRemovingWhileEnabled test since unclear of its relevance.
* Corrected improper use of operator for null checks when using UnityEngine.Object
* InputForUI hook added to update when InputSystem.actions changes
* Removed one test which is causing next two to fail
* Gracefully disable actions to avoid assert on destruction
0 commit comments