Skip to content

Commit 4e02346

Browse files
committed
Fixed comment and inverted #if based on review comments
1 parent 1341226 commit 4e02346

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Packages/com.unity.inputsystem/InputSystem/InputAnalytics.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,10 @@ public interface IInputAnalytic
4747
{
4848
InputAnalyticInfo info { get; } // May be removed when only supporting 2023.2+ versions
4949

50-
#if UNITY_EDITOR && UNITY_2023_2_OR_NEWER
51-
// ISXB-1203 TryGatherData is defined by base. Note that UNITY_EDITOR is not defined when
52-
// compiling addressables even when running in editor.
53-
#else
50+
#if !UNITY_EDITOR || !UNITY_2023_2_OR_NEWER
5451
// Conditionally mimic UnityEngine.Analytics.IAnalytic
5552
bool TryGatherData(out IInputAnalyticData data, out Exception error);
56-
#endif // !UNITY_2023_2_OR_NEWER
53+
#endif // !UNITY_EDITOR || !UNITY_2023_2_OR_NEWER
5754
}
5855

5956
public static void Initialize(InputManager manager)

0 commit comments

Comments
 (0)