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