中文绑定一波

This commit is contained in:
Caiyanpeng committed 2021-11-25 17:31:26 +08:00
1 parent 134dc76ec5
commit aa0c8d4fb6
9 files changed
+100 -102

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ public class Toast : MonoBehaviour
{
json.func = () => false;
}
StartCoroutine(showToastCOR(json.text, json.duration,json.func,json.showSeconds,json.endCallback));
StartCoroutine(showToastCOR(App.GetLocalString(json.text), json.duration,json.func,json.showSeconds,json.endCallback));
}
private IEnumerator showToastCOR(string text,