36 lines
945 B
C#
36 lines
945 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Gonbest.MagicCube;
|
|
|
|
namespace Thousandto.Launcher.Form
|
|
{
|
|
/// <summary>
|
|
/// 其他面板
|
|
/// </summary>
|
|
public class UIOtherPanel : IUIInnerPanelBase
|
|
{
|
|
private GameObject _gameLevelGo;
|
|
private GameObject _copyrightGo;
|
|
|
|
protected override void OnInitialize()
|
|
{
|
|
_gameLevelGo = Trans.Find("TopLeft/GameLevel").gameObject;
|
|
_copyrightGo = Trans.Find("BottomCenter/Copyright").gameObject;
|
|
base.OnInitialize();
|
|
}
|
|
|
|
protected override void OnRefresh()
|
|
{
|
|
|
|
//判断是否包含越南语
|
|
bool isVie = FLanguage.EnabledSelectLans().ContainsKey(FLanguage.VIE);
|
|
Debug.Log("isVie::"+isVie);
|
|
_gameLevelGo.SetActive(isVie);
|
|
_copyrightGo.SetActive(isVie);
|
|
base.OnRefresh();
|
|
}
|
|
|
|
}
|
|
}
|