UnityTrampolineConfigure.h
1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#pragma once
// Auto Generated File, do not edit!
// It will be updated whenever we update unity version
// When unity version is changed:
// UNITY_VERSION value will be changed
// UNITY_X_Y_Z for this new version will be added
//
// If you want conditional on unity version you have several options:
// 1. apple like:
// #if !defined(UNITY_4_5_0)
// is equivalent to saying unity trampoline version is pre-4.5.0 (as 4.5.0 will define the macro)
// 2. explicit version specified:
// #if UNITY_VERSION < 450
// is equivalent to saying unity trampoline version is pre-4.5.0
// 3. most robust would be to check both presence and comparison with unity version
// it is not needed now but who knows what we come up with ;-)
// #if !defined(UNITY_4_5_0) || UNITY_VERSION < UNITY_4_5_0
// is equivalent to saying unity trampoline version is pre-4.5.0
#define UNITY_VERSION 2019311
// known unity versions
#define UNITY_4_2_0 420
#define UNITY_4_2_1 421
#define UNITY_4_2_2 422
#define UNITY_4_3_0 430
#define UNITY_4_3_1 431
#define UNITY_4_3_2 432
#define UNITY_4_3_3 433
#define UNITY_4_3_4 434
#define UNITY_4_5_0 450
#define UNITY_4_5_1 451
#define UNITY_4_5_2 452
#define UNITY_4_5_3 453
#define UNITY_4_6_0 460
#define UNITY_5_0_0 500
#define UNITY_5_1_0 510
#define UNITY_5_2_0 520
#define UNITY_5_3_0 530
#define UNITY_5_4_0 540
#define UNITY_5_5_0 550
#define UNITY_5_6_0 560
#define UNITY_2017_1_0 201710
#define UNITY_2017_2_0 201720
#define UNITY_2017_3_0 201730
#define UNITY_2018_1_0 201810
#define UNITY_2018_2_0 201820
#define UNITY_2018_3_0 201830
#define UNITY_2019_1_0 201910
#define UNITY_2019_2_0 201920
#define UNITY_2019_3_0 201930
#define UNITY_2019_3_11 2019311