Skip to content

Commit 8ffd0b4

Browse files
CHANGE: Change extension of project-wide template asset to .json (#1772)
* Change extension of project-wide template asset to .json This way the template asset is not picked up by Editor views. * Update CHANGELOG
1 parent b84a16e commit 8ffd0b4

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ however, it has to be formatted properly to pass verification tests.
1717
- Static analysis warnings regarding flag enums have been suppressed in order to avoid compile-time warnings or errors.
1818
- Action Map and Action Tree views of the UI Toolkit based Input Action Editor now prevents deselection in both views when Escape key is pressed.
1919
- Input Action Asset editors Auto-save feature has been modified to trigger on focus-lost when activated instead of triggering on every modification to the asset in order to reduce impact of processing required to handle modified assets.
20+
- Project-wide input actions template extension changed from .inputactions to .json. This avoids showing template actions in the action's selector UI that are not intended to be used.
2021

2122
### Added
2223
- Support for [Game rotation vector](https://developer.android.com/reference/android/hardware/Sensor#TYPE_GAME_ROTATION_VECTOR) sensor on Android

Packages/com.unity.inputsystem/InputSystem/Editor/ProjectWideActions/ProjectWideActionsAsset.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace UnityEngine.InputSystem.Editor
1010
{
1111
internal static class ProjectWideActionsAsset
1212
{
13-
internal const string kDefaultAssetPath = "Packages/com.unity.inputsystem/InputSystem/Editor/ProjectWideActions/ProjectWideActionsTemplate.inputactions";
13+
internal const string kDefaultAssetPath = "Packages/com.unity.inputsystem/InputSystem/Editor/ProjectWideActions/ProjectWideActionsTemplate.json";
1414
internal const string kAssetPath = "ProjectSettings/InputManager.asset";
1515
internal const string kAssetName = InputSystem.kProjectWideActionsAssetName;
1616

0 commit comments

Comments
 (0)