private void OnTrackingLost() { if (targetControl != null) { targetControl.ResetObject(); } foreach (Transform t in transform) { t.gameObject.SetActive(false); } }