Skip to content

Commit

Permalink
[unity] Fixed previous bugfix, Unity defines UNITY_2020_3_OR_NEWER an…
Browse files Browse the repository at this point in the history
…d UNITY_2020_3_16 but not UNITY_2020_3_16_OR_NEWER. See #2101.
  • Loading branch information
HaraldCsaszar committed Jun 28, 2022
1 parent 0a32573 commit ab28b77
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -36,6 +36,13 @@
#define HAS_ON_POSTPROCESS_PREFAB
#endif

#if !(UNITY_2020_3_1 || UNITY_2020_3_2 || UNITY_2020_3_3 || UNITY_2020_3_4 || UNITY_2020_3_5 || UNITY_2020_3_6 || UNITY_2020_3_7 || UNITY_2020_3_8 || UNITY_2020_3_9 || UNITY_2020_3_10 || UNITY_2020_3_11 || UNITY_2020_3_12 || UNITY_2020_3_13 || UNITY_2020_3_14 || UNITY_2020_3_15)
#define UNITY_2020_3_16_OR_NEWER
#endif
#if !(UNITY_2021_1_1 || UNITY_2021_1_2 || UNITY_2021_1_3 || UNITY_2021_1_4 || UNITY_2021_1_5 || UNITY_2021_1_6 || UNITY_2021_1_7 || UNITY_2021_1_8 || UNITY_2021_1_9 || UNITY_2021_1_10 || UNITY_2021_1_11 || UNITY_2021_1_12 || UNITY_2021_1_13 || UNITY_2021_1_14 || UNITY_2021_1_15 || UNITY_2021_1_16)
#define UNITY_2021_1_17_OR_NEWER
#endif

#if (UNITY_2020_3 && UNITY_2020_3_16_OR_NEWER) || UNITY_2021_1_17_OR_NEWER
#define HAS_SAVE_ASSET_IF_DIRTY
#endif
Expand Down

0 comments on commit ab28b77

Please sign in to comment.