Merge remote-tracking branch 'remotes/origin/master' into LouDi_Pig
This commit is contained in:
commit
60c09f8659
@ -31,6 +31,10 @@ public class DeviceItem : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (string.IsNullOrEmpty(device.Tip) == false)
|
if (string.IsNullOrEmpty(device.Tip) == false)
|
||||||
|
{
|
||||||
|
gameObject.AddComponent<TipItem>().Set(device.Tip);
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
gameObject.AddComponent<TipItem>().Set(device.Name);
|
gameObject.AddComponent<TipItem>().Set(device.Name);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user