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