Skip to content

Commit b9049d4

Browse files
authored
Merge pull request #4 from StansAssets/fix-unity-compatibility
fix: change Platform dependent compilation
2 parents 291480e + 02d095a commit b9049d4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

com.stansassets.plugins-dev-kit/Editor/Config/PluginsDevKitPackage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ static class PluginsDevKitPackage
1010
public static readonly string UIToolkitPath = $"{RootPath}/Editor/UIToolkit";
1111
public static readonly string UIToolkitControlsPath = $"{UIToolkitPath}/Controls";
1212

13-
#if UNITY_2019_4_OR_NEWER
13+
#if UNITY_2019_4_OR_NEWER || UNITY_2020_2_OR_NEWER
1414
/// <summary>
1515
/// Foundation package info.
1616
/// </summary>

com.stansassets.plugins-dev-kit/Editor/UIToolkit/AboutTab/AboutTab.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
namespace StansAssets.Plugins.Editor
33
{
44
public class AboutTab : BaseTab

com.stansassets.plugins-dev-kit/Editor/UIToolkit/SettingsWindow/BaseTab.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 StansAssets.Foundation.Editor;
44
using UnityEditor;

com.stansassets.plugins-dev-kit/Editor/UIToolkit/SettingsWindow/PackageSettingsWindow.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 StansAssets.Foundation.Editor;

0 commit comments

Comments
 (0)