Skip to content

Commit c5e7634

Browse files
committed
\#ifdef deprecated methods from LinkXmlInjector
Imcrement version
1 parent afb188f commit c5e7634

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Editor/LinkXmlInjector.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ internal class LinkXmlInjector : IUnityLinkerProcessor
1010
{
1111
int IOrderedCallback.callbackOrder => 0;
1212

13-
string IUnityLinkerProcessor.GenerateAdditionalLinkXmlFile(BuildReport report, UnityLinkerBuildPipelineData data)
13+
string IUnityLinkerProcessor.GenerateAdditionalLinkXmlFile(BuildReport report,
14+
UnityLinkerBuildPipelineData data)
1415
{
1516
// This is pretty ugly, but it was the only thing I could think of in order to reliably get the path to link.xml
1617
const string linkXmlGuid = "9bbe747a148f00540828ab8521feb770";
@@ -21,12 +22,14 @@ string IUnityLinkerProcessor.GenerateAdditionalLinkXmlFile(BuildReport report, U
2122
return Path.GetFullPath(assetPath);
2223
}
2324

25+
#if !UNITY_2021_2_OR_NEWER
2426
void IUnityLinkerProcessor.OnBeforeRun(BuildReport report, UnityLinkerBuildPipelineData data)
2527
{
2628
}
2729

2830
void IUnityLinkerProcessor.OnAfterRun(BuildReport report, UnityLinkerBuildPipelineData data)
2931
{
3032
}
33+
#endif
3134
}
3235
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.lastabyss.simplegraphql",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"displayName": "SimpleGraphQL",
55
"description": "A simple graphQL client that allows one to use .graphql files (or code) for queries, mutations, and subscriptions with Unity.",
66
"unity": "2019.4",

0 commit comments

Comments
 (0)