16 lines
322 B
C#
16 lines
322 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using ZXKFramework;
|
|
|
|
namespace YiLiao.SiBuChuZhen
|
|
{
|
|
public class SpeakPanel : MonoBehaviour
|
|
{
|
|
public int id;
|
|
private void OnEnable()
|
|
{
|
|
transform.FindFirst<Text>("Text").text = MVC.GetModel<GameModel>().GetLanguage(id);
|
|
}
|
|
}
|
|
}
|