Skip to content

Commit d2d8041

Browse files
authored
RELEASE: 1.6.1 (#1683)
* ensure UITK asset editor code is guarded by compiler defines * RELEASE: 1.6.1 * bump version on test assets
1 parent 83aacda commit d2d8041

52 files changed

Lines changed: 58 additions & 53 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Assets/Samples/CustomComposite/CustomComposite.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public override void OnGUI()
177177
target.scaleFactor = EditorGUILayout.Slider(m_ScaleFactorLabel, currentValue, 0, 2);
178178
}
179179

180-
#if UNITY_2022_2_OR_NEWER
180+
#if UNITY_INPUT_SYSTEM_UI_TK_ASSET_EDITOR
181181
public override void OnDrawVisualElements(VisualElement root, Action onChangedCallback)
182182
{
183183
var slider = new Slider(m_ScaleFactorLabel.text, 0, 2)

Assets/Samples/InGameHints/InGameHintsActions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//------------------------------------------------------------------------------
22
// <auto-generated>
33
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
4-
// version 1.6.0
4+
// version 1.6.1
55
// from Assets/Samples/InGameHints/InGameHintsActions.inputactions
66
//
77
// Changes to this file may cause incorrect behavior and will be lost if

Assets/Samples/SimpleDemo/SimpleControls.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//------------------------------------------------------------------------------
22
// <auto-generated>
33
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
4-
// version 1.6.0
4+
// version 1.6.1
55
// from Assets/Samples/SimpleDemo/SimpleControls.inputactions
66
//
77
// Changes to this file may cause incorrect behavior and will be lost if

Assets/Tests/InputSystem.Editor/ControlSchemeEditorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2022_2_OR_NEWER
1+
#if UNITY_INPUT_SYSTEM_UI_TK_ASSET_EDITOR
22
using NUnit.Framework;
33
using UnityEngine.InputSystem;
44
using UnityEngine.InputSystem.Editor;

Assets/Tests/InputSystem.Editor/SelectorsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// UITK TreeView is not supported in earlier versions
22
// Therefore the UITK version of the InputActionAsset Editor is not available on earlier Editor versions either.
3-
#if UNITY_EDITOR && UNITY_2022_2_OR_NEWER
3+
#if UNITY_EDITOR && UNITY_INPUT_SYSTEM_UI_TK_ASSET_EDITOR
44
using System.Linq;
55
using NUnit.Framework;
66
using UnityEngine;

Assets/Tests/InputSystem.Editor/TestData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2022_2_OR_NEWER
1+
#if UNITY_INPUT_SYSTEM_UI_TK_ASSET_EDITOR
22
using System.Collections.Generic;
33
using UnityEditor;
44
using UnityEngine;

Assets/Tests/InputSystem.Editor/TestDataGenerators.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2022_2_OR_NEWER
1+
#if UNITY_INPUT_SYSTEM_UI_TK_ASSET_EDITOR
22
using System.Collections.Generic;
33
using UnityEngine.InputSystem;
44

Assets/Tests/InputSystem/InputActionCodeGeneratorActions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//------------------------------------------------------------------------------
22
// <auto-generated>
33
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
4-
// version 1.6.0
4+
// version 1.6.1
55
// from Assets/Tests/InputSystem/InputActionCodeGeneratorActions.inputactions
66
//
77
// Changes to this file may cause incorrect behavior and will be lost if

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 5 additions & 0 deletions

Packages/com.unity.inputsystem/InputSystem/Actions/Composites/Vector2Composite.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public override void OnGUI()
204204
target.mode = (Vector2Composite.Mode)EditorGUILayout.EnumPopup(m_ModeLabel, target.mode);
205205
}
206206

207-
#if UNITY_2022_2_OR_NEWER
207+
#if UNITY_INPUT_SYSTEM_UI_TK_ASSET_EDITOR
208208
public override void OnDrawVisualElements(VisualElement root, Action onChangedCallback)
209209
{
210210
var modeField = new EnumField("Mode", target.mode)

0 commit comments

Comments
 (0)