增加英文名
This commit is contained in:
parent
a72eb84af0
commit
9ccb1a0e69
@ -163,6 +163,7 @@ namespace QFramework.Example
|
||||
public void Refresh()
|
||||
{
|
||||
PartName.text = mData.body.Name;
|
||||
EnglishName.text = mData.body.EnglishName;
|
||||
obj = Utility.FindObj(mData.body.Path);
|
||||
Des.text = mData.body.Tip;
|
||||
RefreshTipPath();
|
||||
|
||||
@ -167,7 +167,9 @@ namespace XMLTool
|
||||
public class Body
|
||||
{
|
||||
public string Icon { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
public string EnglishName { get; set; }
|
||||
public string Path { get; set; }
|
||||
|
||||
public string Tip { get; set; }
|
||||
@ -403,12 +405,13 @@ namespace XMLTool
|
||||
{
|
||||
Icon = bodyElement.Attribute("icon")?.Value,
|
||||
Name = bodyElement.Attribute("name")?.Value,
|
||||
EnglishName = bodyElement.Attribute("englishName")?.Value,
|
||||
Path = bodyElement.Attribute("path")?.Value,
|
||||
Tip = bodyElement.Attribute("tip")?.Value,
|
||||
Audio = bodyElement.Attribute("audio")?.Value,
|
||||
FocusDistance = bodyElement.Attribute("FocusDistance")?.Value
|
||||
};
|
||||
|
||||
|
||||
var isShow = bodyElement.Attribute("isShow");
|
||||
if (isShow != null)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user