File tree Expand file tree Collapse file tree
Assets/Scripts/TrajectoryPlanner Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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!
111using System ;
122using System . Collections . Generic ;
133using System . Linq ;
2515using UnityEngine . Serialization ;
2616using 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+
2830public class MsvcStdextWorkaround : IPreprocessBuildWithReport
2931{
3032 const string kWorkaroundFlag = "/D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS" ;
You can’t perform that action at this time.
0 commit comments