修改bug
This commit is contained in:
parent
2d17f012fe
commit
f571fd5279
@ -83,6 +83,10 @@ public class ScoreController : MonoSingleton<ScoreController>
|
|||||||
scoreDict[key].value = 0;
|
scoreDict[key].value = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogError("没有找到 评分点:" + key);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -42,6 +42,7 @@ namespace QFramework.Example
|
|||||||
|
|
||||||
protected override void OnOpen(IUIData uiData = null)
|
protected override void OnOpen(IUIData uiData = null)
|
||||||
{
|
{
|
||||||
|
mData = uiData as UIToolsData ?? new UIToolsData();
|
||||||
TypeEventSystem.Global.Register<StepStatusOnChange>(OnStepChanged).UnRegisterWhenDisabled(gameObject);
|
TypeEventSystem.Global.Register<StepStatusOnChange>(OnStepChanged).UnRegisterWhenDisabled(gameObject);
|
||||||
if (mData.totalScore > 0)
|
if (mData.totalScore > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -265,7 +265,7 @@ namespace XMLTool
|
|||||||
// 解析模块名称
|
// 解析模块名称
|
||||||
module.type = moduleElement.Element("Type")?.Value;
|
module.type = moduleElement.Element("Type")?.Value;
|
||||||
module.ModuleName = moduleElement.Element("Name")?.Value;
|
module.ModuleName = moduleElement.Element("Name")?.Value;
|
||||||
module.Descript = moduleElement.Element("Descript")?.Value;
|
module.Descript = moduleElement.Element("Descript")?.Value.Trim();
|
||||||
module.Scene = moduleElement.Element("Scene")?.Value;
|
module.Scene = moduleElement.Element("Scene")?.Value;
|
||||||
|
|
||||||
// 解析设备
|
// 解析设备
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user