// Destoy same instance private void OnDestroy() { if (currentTempo == this) { currentTempo = null; } }
// Set Current as only instance private void Awake() { currentTempo = this; }