Hi!!
Have Some problem…
This is…
void OnGUI () {
GUI.skin = _guiSkin;
if (_startFlag && !_connectFlag) {
GUI.Label(new Rect(20.0f, 20.0f, 30, 32), "Error");
} else if (_jLoginData == null) {
GUI.Label(new Rect(20.0f, 20.0f, 30, 32), "ID");
_inputID = GUI.TextField(new Rect(60.0f, 20.0f, 100, 32), _inputID, 8);
GUI.Label(new Rect(20.0f, 60.0f, 30, 32), "Pass");
_inputPass = GUI.TextField(new Rect(60.0f, 60.0f, 100, 32), _inputPass, 8);
GUI.Label(new Rect(160.0f, 150.0f,200,270), "A - " );
if (GUI.Button(new Rect(170.0f, 20.0f, 32, 72), "OK"))
{
Data = _inputID + " : " + _inputPass;
print("Show Data : " + Data);
GUI.Label(new Rect(160.0f, 150.0f,200,270), "Why would not display the label?");
}
if( Data.Length > 10 )
GUI.Box(new Rect(200,200,200,200), Data);
} else {
GUI.Label(new Rect(20.0f, 20.0f, 150, 32), "Login Name : " + _jLoginData.Name);
}
This Line!! —> GUI.Label(new Rect(160.0f, 150.0f,200,270), “Why would not display the label?”);
Why didn’t show in screen~?