4public class UIItem : MonoBehaviour
32 public void SetTopic(
string lang1,
string lang2)
40 LayoutElement orCreate = this.GetOrCreate<LayoutElement>();
41 float preferredWidth = (orCreate.minWidth = w);
42 orCreate.preferredWidth = preferredWidth;
50 if ((
bool)hyphenationJpn)
52 text1.hyphenation = hyphenationJpn;
53 hyphenationJpn.enabled =
true;
static LangSetting setting
void SetTopic(string lang1, string lang2)