- Home /
Question by
hieu.ivieoh · Apr 25, 2013 at 12:00 PM ·
guilanguagejapanese
Problem with GUI
i want to show a list Japanese buttons, but i got the problem like that: - First i run my game, the buttons show text, after few seconds that they can not show text(i use Debug.log, there is content, but can't show). -When the buttons can not show text, i change other application and focus again Unity, the buttons show text again.
for (int i = 0; i < chapterQuantity; i++) {
if(GUI.Button(new Rect(50, yRect,listButtonTexture[0].width,listButtonTexture[0].height), chapterNameInfo.ChapterNames[i] )){}
yRect+=buttonHeight *1.3f;
}
Please help me!
Comment
What's the braces doing at the end of that GUI.Button line?
Your answer
![](https://koobas.hobune.stream/wayback/20220613100955im_/https://answers.unity.com/themes/thub/images/avi.jpg)