Skip to content

Commit bb7e13b

Browse files
committed
chore: moving using statements back
1 parent 021ef23 commit bb7e13b

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

Assets/Scripts/TrajectoryPlanner/TrajectoryPlannerManager.cs

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
#if UNITY_WEBGL
2-
using System.Collections.Specialized;
3-
using System.Runtime.InteropServices;
4-
#endif
5-
6-
#if UNITY_EDITOR
7-
8-
// This code fixes a bug that is also fixed by upgrading to 2021.3.14f1 or newer
9-
// see https://forum.unity.com/threads/workaround-for-building-with-il2cpp-with-visual-studio-2022-17-4.1355570/
10-
// please remove this code when Unity version exceeds this!
111
using System;
122
using System.Collections.Generic;
133
using System.Linq;
@@ -25,6 +15,18 @@
2515
using UnityEngine.Serialization;
2616
using UnityEngine.UI;
2717

18+
#if UNITY_WEBGL
19+
using System.Collections.Specialized;
20+
using System.Runtime.InteropServices;
21+
#endif
22+
23+
#if UNITY_EDITOR
24+
25+
// This code fixes a bug that is also fixed by upgrading to 2021.3.14f1 or newer
26+
// see https://forum.unity.com/threads/workaround-for-building-with-il2cpp-with-visual-studio-2022-17-4.1355570/
27+
// please remove this code when Unity version exceeds this!
28+
29+
2830
public class MsvcStdextWorkaround : IPreprocessBuildWithReport
2931
{
3032
const string kWorkaroundFlag = "/D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS";

0 commit comments

Comments
 (0)