private void Awake() { if (Instance != null) { Destroy(gameObject); } Instance = this; }
public void PlayTypeWriterSound() { AudioClipsManager aManager = FindObjectOfType <AudioClipsManager>(); aManager.PlayTypeWriterSound(); }
private void OnDestroy() { Instance = null; }