修复device标签显示bug
This commit is contained in:
parent
c103cac695
commit
d5eaedf0f3
@ -31,6 +31,10 @@ public class DeviceItem : MonoBehaviour
|
||||
}
|
||||
}
|
||||
if (string.IsNullOrEmpty(device.Tip) == false)
|
||||
{
|
||||
gameObject.AddComponent<TipItem>().Set(device.Tip);
|
||||
}
|
||||
else
|
||||
{
|
||||
gameObject.AddComponent<TipItem>().Set(device.Name);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user