-
Notifications
You must be signed in to change notification settings - Fork 0
/
Materials.cs
64 lines (50 loc) · 1.79 KB
/
Materials.cs
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
54
55
56
57
58
59
60
61
62
63
64
using UnityEngine;
public class Materials {
public static readonly Material GROUND;
public static readonly Material SUGAR;
public static readonly Material DEFAULT;
public static readonly Material LOW_METABOLISM;
public static readonly Material MEDIUM_METABOLISM;
public static readonly Material HIGH_METABOLISM;
public static readonly Material MALE;
public static readonly Material FEMALE;
public static readonly Material LOW_VISION;
public static readonly Material MEDIUM_VISION;
public static readonly Material HIGH_VISION;
static Materials () {
GROUND = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = Color.white
};
SUGAR = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = Color.yellow
};
DEFAULT = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = Color.red
};
MALE = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = Color.red
};
FEMALE = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = Color.blue
};
LOW_VISION = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = Color.red
};
MEDIUM_VISION = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = new Color(0.5f, 0, 0.5f, 1) // purple
};
HIGH_VISION = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = Color.blue
};
LOW_METABOLISM = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = Color.blue
};
MEDIUM_METABOLISM = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = new Color(0.5f, 0, 0.5f, 1) // purple
};
HIGH_METABOLISM = new Material(Shaders.Legacy.SIMPLE_LIT) {
color = Color.red
};
}
}