void Awake() { if (instance != null && instance != this) { Destroy(this.gameObject); } else { instance = this; } }
// Start is called before the first frame update void Awake() { sliders = new Slider[] { musicSlider, fellowSlider, teachSlider, spiritSlider, servingSlider }; pDan = PDanScript.instance; }