Browse Source

[+]金风

DESKTOP-VJNJ4VK\Administrator 1 tháng trước cách đây
mục cha
commit
a7fd479587
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>();
             }