-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
TODO.txt
61 lines (40 loc) · 1.79 KB
/
TODO.txt
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
Done
Add % of ship costs to costing structure for setup and per-minute
---------------------
The costs will be configurable via an interface. I'll have an initial setup of costs, but they will all be configurable via the interface.
===========
ToDo
Configurable settings:
font size
costs position
Timed events, called every second or so
Add Wireframe: https://github.com/LGhassen/Scatterer/blob/master/scatterer/Core.cs
if (farCamera)
{
if (nearCamera.gameObject.GetComponent (typeof(Wireframe)))
Component.Destroy (nearCamera.gameObject.GetComponent (typeof(Wireframe)));
if (farCamera.gameObject.GetComponent (typeof(Wireframe)))
Component.Destroy (farCamera.gameObject.GetComponent (typeof(Wireframe)));
if (scaledSpaceCamera.gameObject.GetComponent (typeof(Wireframe)))
Component.Destroy (scaledSpaceCamera.gameObject.GetComponent (typeof(Wireframe)));
}
if (GUILayout.Button ("Toggle WireFrame"))
{
if (wireFrame)
{
if (nearCamera.gameObject.GetComponent (typeof(Wireframe)))
Component.Destroy(nearCamera.gameObject.GetComponent (typeof(Wireframe)));
if (farCamera.gameObject.GetComponent (typeof(Wireframe)))
Component.Destroy(farCamera.gameObject.GetComponent (typeof(Wireframe)));
if (scaledSpaceCamera.gameObject.GetComponent (typeof(Wireframe)))
Component.Destroy(scaledSpaceCamera.gameObject.GetComponent (typeof(Wireframe)));
wireFrame=false;
}
else
{
nearCamera.gameObject.AddComponent (typeof(Wireframe));
farCamera.gameObject.AddComponent (typeof(Wireframe));
scaledSpaceCamera.gameObject.AddComponent (typeof(Wireframe));
wireFrame=true;
}
}