diff --git a/Assets/Scripts/Item/DeviceItem.cs b/Assets/Scripts/Item/DeviceItem.cs index f1a00a47..4d7aa614 100644 --- a/Assets/Scripts/Item/DeviceItem.cs +++ b/Assets/Scripts/Item/DeviceItem.cs @@ -31,6 +31,10 @@ public class DeviceItem : MonoBehaviour } } if (string.IsNullOrEmpty(device.Tip) == false) + { + gameObject.AddComponent().Set(device.Tip); + } + else { gameObject.AddComponent().Set(device.Name); }