中文绑定一波
This commit is contained in:
1 parent
134dc76ec5
commit
aa0c8d4fb6
9 files changed
+100
-102
No files matched your search
@@ -66,7 +66,13 @@ namespace Assets.Scripts.UI.Control
|
||||
{
|
||||
//
|
||||
//tooltips.GetComponent<RectTransform>().localPosition.
|
||||
tooltips.transform.Find("Text").GetComponent<Text>().text = Tooltips;
|
||||
tooltips.transform.Find("Text").GetComponent<Text>().text = App.GetLocalString(Tooltips);
|
||||
var pftext = tooltips.transform.Find("Text").GetComponent<PFUIText>();
|
||||
Debug.Log(pftext);
|
||||
if (pftext)
|
||||
{
|
||||
tooltips.transform.Find("Text").GetComponent<PFUIText>().key = Tooltips;
|
||||
}
|
||||
}
|
||||
tooltips.SetActive(false);
|
||||
|
||||
|
||||
Reference in new issue
Block a user