void OnDestroy() { if (inst) { inst = null; } }
void Awake() { textComp = GetComponent <Text>(); if (!inst) { inst = this; } }
void OnDestroy() { if (inst) { inst = null; } }
void Awake() { textComp = GetComponent <Text>(); if (!inst) { inst = this; } }