void OnDestroy() { instance = null; }
/// <summary> /// Keep an instance reference so this class can be easily found. /// </summary> void Awake() { instance = this; }