소스 검색

[+]金风

DESKTOP-VJNJ4VK\Administrator 1 개월 전
부모
커밋
a7fd479587
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ModeDisplay/Assets/Scripts/DeviceController.cs

+ 1 - 1
ModeDisplay/Assets/Scripts/DeviceController.cs

@@ -149,7 +149,7 @@ public class DeviceController : MonoBehaviour
 
         foreach (var item in tmpTransforms)
         {
-            if (item.GetComponents<PartMark>() == null)
+            if (item.GetComponent<PartMark>() == null)
             {
                 item.gameObject.AddComponent<PartMark>();
             }