void OnDestroy() { if (instance == this) { instance = null; } }
private void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); } markupDict = new Dictionary <string, MarkUpRecord>(); }