-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathData.cs
76 lines (66 loc) · 1.74 KB
/
Data.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
65
66
67
68
69
70
71
72
73
74
75
76
using UnityEngine;
using System.Collections;
namespace Assets.Scripts
{
class Data : MonoBehaviour
{
void Start()
{
DontDestroyOnLoad(this.gameObject);
}
private static float musicVol;
public static float MusicVol
{
get { return musicVol; }
set { musicVol = value; }
}
private static float sfxVol;
public static float SfxVol
{
get { return sfxVol; }
set { sfxVol = value; }
}
private static bool paused;
public static bool Paused
{
get { return paused; }
set { paused = value; }
}
private static bool playerDead = false;
public static bool PlayerDead
{
get { return playerDead; }
set { playerDead = value; }
}
private static bool deSpawn;
public static bool DeSpawn
{
get { return deSpawn; }
set { deSpawn = value; }
}
private static bool pauseEnabled = true;
public static bool PauseEnabled
{
get { return pauseEnabled; }
set { pauseEnabled = value; }
}
//private static float aspectRatio;
//public static float AspectRatio
//{
// get { return aspectRatio; }
// set { aspectRatio = value; }
//}
private static int level;
public static int Level
{
get { return level; }
set { level = value; }
}
private static Enemies.Enemy enemy;
public static Enemies.Enemy Enemy
{
get { return enemy; }
set { enemy = value; }
}
}
}