void OnDestroy() { singletonInstance = null; }
void Awake() { if (singletonInstance != null) Debug.LogError("have singletonInstance"); singletonInstance = this; }