Commit dcd4963
committed
fix(build): guard BuildTarget.VisionOS with UNITY_2023_2_OR_NEWER
BuildTarget.VisionOS does not exist in Unity 2022.3.0 - 2022.3.17 or
2023.1.x, so UNITY_2022_3_OR_NEWER causes CS0117 compile errors on
those versions. Tighten the guard to UNITY_2023_2_OR_NEWER, where the
enum is guaranteed to exist.1 parent 8123820 commit dcd4963
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments