private void OnBecameInvisible() { Debug.Log("Out of view!"); if (fading) { sc.CalculateScore(); Destroy(gameObject, 2.0f); } }