Skip to content

Commit 472ab84

Browse files
committed
Fixed compiler errors on 2021.2 and later
1 parent dd4d4bb commit 472ab84

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Plugins/BezierSolution/BezierSpline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,4 +1501,4 @@ internal void Reset()
15011501
}
15021502
#endif
15031503
}
1504-
}
1504+
}

Plugins/BezierSolution/Other/BezierDataStructures.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,4 +341,4 @@ public static ExtraData LerpUnclamped( ExtraData a, ExtraData b, float t )
341341
public override string ToString() { return ( (Vector4) this ).ToString(); }
342342
}
343343
}
344-
}
344+
}

Plugins/BezierSolution/Utilities/BendMeshAlongBezier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#if UNITY_EDITOR
33
using UnityEditor;
44
using UnityEditor.SceneManagement;
5-
#if UNITY_2018_3_OR_NEWER
5+
#if UNITY_2018_3_OR_NEWER && !UNITY_2021_2_OR_NEWER
66
using PrefabStage = UnityEditor.Experimental.SceneManagement.PrefabStage;
77
using PrefabStageUtility = UnityEditor.Experimental.SceneManagement.PrefabStageUtility;
88
#endif

0 commit comments

Comments
 (0)