Skip to content

Commit d36fc66

Browse files
change Platform dependent compilation (#57)
1 parent d8a8581 commit d36fc66

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

Editor/Core/FoundationPackage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static class FoundationPackage
1818
public static readonly string RootPath = PackageManagerUtility.GetPackageRootPath(Name);
1919

2020

21-
#if UNITY_2019_4_OR_NEWER
21+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
2222
/// <summary>
2323
/// Foundation package info.
2424
/// </summary>

Editor/EditorUtilities/PackageManagerUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static class PackageManagerUtility
1818
/// </summary>
1919
public const string ManifestPath = "Packages/manifest.json";
2020

21-
#if UNITY_2019_4_OR_NEWER
21+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
2222
/// <summary>
2323
/// Returns PackageInfo if package is installed in the project, <c>null</c> otherwise.
2424
/// </summary>

Editor/EditorUtilities/UIToolkitEditorUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2019_4_OR_NEWER
1+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
22
using System;
33
using UnityEditor;
44
using UnityEngine;

Editor/UIToolkit/Controls/ButtonStrip/ButtonStrip.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2019_4_OR_NEWER
1+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
22
using System;
33
using System.Collections.Generic;
44
using System.Linq;

Editor/UIToolkit/Controls/HelpBox/HelpBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2019_4_OR_NEWER
1+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
22
using JetBrains.Annotations;
33
using UnityEditor;
44
using UnityEngine.UIElements;

Editor/UIToolkit/Controls/Hyperlink/Hyperlink.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2019_4_OR_NEWER
1+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
22
using JetBrains.Annotations;
33
using StansAssets.Foundation.Editor;
44
using UnityEngine;

Editor/UIToolkit/Controls/LoadingSpinner/LoadingSpinner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2019_4_OR_NEWER
1+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
22
using JetBrains.Annotations;
33
using StansAssets.Foundation.Editor;
44
using UnityEngine;

Editor/UIToolkit/Controls/SelectableLabel/SelectableLabel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2019_4_OR_NEWER
1+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
22
using JetBrains.Annotations;
33
using StansAssets.Foundation.Editor;
44
using UnityEngine.UIElements;

Editor/UIToolkit/Controls/SettingsBlock/SettingsBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2019_4_OR_NEWER
1+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
22

33
using JetBrains.Annotations;
44
using StansAssets.Foundation.Editor;

Runtime/UIToolkit/UIElementsUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_2019_4_OR_NEWER
1+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
22
using System.Reflection;
33
using UnityEngine;
44
using UnityEngine.UIElements;

0 commit comments

Comments
 (0)