fix:1、更换项目,使用winter来创建
This commit is contained in:
@@ -7,7 +7,7 @@ using UnityEngine.EventSystems;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace FlowerPower
|
||||
namespace LoveLegend
|
||||
{
|
||||
public class UISequenceInfo
|
||||
{
|
||||
@@ -694,7 +694,7 @@ namespace FlowerPower
|
||||
{
|
||||
GameObject engineEventSystemGo = new GameObject("[EngineEventSystem]");
|
||||
engineEventSystemGo.AddComponent<EngineEventSystem>();
|
||||
engineEventSystemGo.transform.SetParent(GemCrushCore.Instance.transform, false);
|
||||
engineEventSystemGo.transform.SetParent(LoveLegendCore.Instance.transform, false);
|
||||
}
|
||||
|
||||
private void InitFguiConfig()
|
||||
@@ -763,7 +763,7 @@ namespace FlowerPower
|
||||
{
|
||||
if (AppConst.IsMultiLangue)
|
||||
{
|
||||
Stage.inst.currLang = AppConst.InternalLangue;
|
||||
Stage.inst.currLang = Language.getCurrentLanguage();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -823,7 +823,7 @@ namespace FlowerPower
|
||||
if (multiLangueConfigList == null || multiLangueConfigList.Count == 0) return;
|
||||
|
||||
if (string.IsNullOrWhiteSpace(switchLang)) return;
|
||||
if (switchLang == Stage.inst.currLang && switchLang == AppConst.InternalLangue) return;
|
||||
if (switchLang == Stage.inst.currLang) return;
|
||||
if (!multiLangueConfigList.Contains(switchLang)) return;
|
||||
|
||||
var switchLangXML = LoadKit.Instance.LoadAsset<TextAsset>("TextAsset.I18N", switchLang);
|
||||
@@ -832,6 +832,9 @@ namespace FlowerPower
|
||||
|
||||
var xml = new FairyGUI.Utils.XML(switchLangXML.text);
|
||||
UIPackage.SetStringsSource(xml);
|
||||
|
||||
|
||||
|
||||
Stage.inst.currLang = switchLang;
|
||||
|
||||
AppConst.CurrMultiLangue = switchLang;
|
||||
|
||||
Reference in New Issue
Block a user