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