瀏覽代碼

[+]金风

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>();
             }