Browse Source

Merge branch 'feature/lxd' into develop

lxd 6 months ago
parent
commit
deb1767ae0
1 changed files with 0 additions and 13 deletions
  1. 0 13
      ModeDisplay/Assets/Scripts/DeviceController.cs

+ 0 - 13
ModeDisplay/Assets/Scripts/DeviceController.cs

@@ -39,23 +39,10 @@ public class DeviceController : MonoBehaviour
             PartMark partMark = GetParentPartMarkWithPartMark(hit.collider.transform);
 
             // 处理射线击中的对象
-<<<<<<< HEAD
             if (partMark != null)
             {
                 UIKit.OpenPanel<PartLabelPanel>(UILevel.PopUI, new PartLabelPanelData() { partName = partMark.name });
             }
-=======
-            //if (hit.collider.GetComponent<PartMark>() != null)
-            //{
-                PartMark tmpMark = hit.collider.GetComponentInParent<PartMark>();
-                
-                if (tmpMark != null)
-                {
-                    Debug.Log(tmpMark.name);
-                    UIKit.OpenPanel<PartLabelPanel>(UILevel.PopUI,new PartLabelPanelData() { partName = tmpMark.name });
-                }
-            //}
->>>>>>> feature/jinxin
         }
         else
         {