public void SetItemsVisible(bool vis) { if (this.displayModels == null) { return; } foreach (VisualStorageContainer.DisplayModel displayModel in this.displayModels) { if (displayModel != null) { LODGroup componentInChildren = (LODGroup)displayModel.displayModel.GetComponentInChildren <LODGroup>(); if (Object.op_Implicit((Object)componentInChildren)) { componentInChildren.set_localReferencePoint(vis ? Vector3.get_zero() : new Vector3(10000f, 10000f, 10000f)); } else { Debug.Log((object)("VisualStorageContainer item missing LODGroup" + ((Object)displayModel.displayModel.get_gameObject()).get_name())); } } } }