-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReferenceLocator.cs
85 lines (70 loc) · 2.23 KB
/
ReferenceLocator.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
77
78
79
80
81
82
83
84
85
using UnityEngine;
namespace BandTogether;
public class ReferenceLocator : MonoBehaviour
{
[SerializeField] SacredEntrywayTrigger sacredEntrywayTrigger = null;
[SerializeField] GhostBrain[] worshipGhosts = null;
[SerializeField] CageElevator ghirdVillageBElevator = null;
[SerializeField] TheDivineThrone shrubSocketThrone = null;
[SerializeField] ShrubberySocketNomai shrubSocketNomai = null;
[SerializeField] Shrubbery shrubObject = null;
[SerializeField] SunpostDetector sunpostDetector = null;
[SerializeField] GhirdLightsOutController lightsOutController = null;
[SerializeField] DreamLanternItem playerLantern = null;
[SerializeField] Transform playerRespawnPoint = null;
[SerializeField] FlashlightRuleset flashlightRuleset = null;
[SerializeField] OWAudioSource creditsSong = null;
private static ReferenceLocator Instance;
private void Awake()
{
Instance = this;
}
public static SacredEntrywayTrigger GetSacredEntryway()
{
return Instance.sacredEntrywayTrigger;
}
public static GhostBrain[] GetWorshipGhosts()
{
return Instance.worshipGhosts;
}
public static CageElevator GetGhirdVillageBElevator()
{
return Instance.ghirdVillageBElevator;
}
public static TheDivineThrone GetShrubSocketThrone()
{
return Instance.shrubSocketThrone;
}
public static ShrubberySocketNomai GetShrubSocketNomai()
{
return Instance.shrubSocketNomai;
}
public static Shrubbery GetShrubbery()
{
return Instance.shrubObject;
}
public static SunpostDetector GetSunpostDetector()
{
return Instance.sunpostDetector;
}
public static GhirdLightsOutController GetLightsOutController()
{
return Instance.lightsOutController;
}
public static DreamLanternItem GetDreamLanternItem()
{
return Instance.playerLantern;
}
public static Transform GetPlayerRespawnPoint()
{
return Instance.playerRespawnPoint;
}
public static FlashlightRuleset GetFlashlightRuleset()
{
return Instance.flashlightRuleset;
}
public static OWAudioSource GetCreditsSong()
{
return Instance.creditsSong;
}
}