// Use this for initialization void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } DontDestroyOnLoad(instance); theAudioScource = GetComponent <AudioSource>(); }
void Start() { inst = FearController.instance; }