void Start() { if (instance) { Destroy(gameObject); } else { instance = this; } timeleft = updateInterval; _textMesh = transform.GetComponent <TextMesh>(); }
void OnApplicationQuit() { instance = null; }
void Start() { if (instance) { Destroy(gameObject); } else { instance = this; } timeleft = updateInterval; _textMesh = transform.GetComponent <TextMesh>(); }
void OnApplicationQuit() { instance = null; }