/
crypt
/
NumbersPlay
Обзор
Документация
Войти
/
crypt
/
NumbersPlay
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Assets/PluginYourGames/Example/Scripts/DemoTextTranslateRU.cs
19 строк
341 B
Crypt
start
16 ноя 2025, 14:28
16 ноя 2025, 14:28
1482007
Код
Авторство
О чём код?
using UnityEngine; using UnityEngine.UI; namespace YG.Example { public class DemoTextTranslateRU : MonoBehaviour { [TextArea(1, 100)] public string textRU; #if RU_YG2 void Start() { if (textRU != string.Empty) GetComponent<Text>().text = textRU; } #endif } }