AY

Size: a a a
AY

AY
11
VD
СХ
public class LoginScreen : MonoBehaviour {
public bool showwtext = false;
....
else if (blocked == "b") {
showwtext = true;
wtext = "Blocked";
Debug.Log("Blocked");
}
void OnGUI()
{
if(showwtext == true)
{
GUI.Label(new Rect(Screen.width / 2 - 50, Screen.height / 2 - 25, 100, 50), wtext.ToString());
}
}
}_P
PD
public class LoginScreen : MonoBehaviour {
public bool showwtext = false;
....
else if (blocked == "b") {
showwtext = true;
wtext = "Blocked";
Debug.Log("Blocked");
}
void OnGUI()
{
if(showwtext == true)
{
GUI.Label(new Rect(Screen.width / 2 - 50, Screen.height / 2 - 25, 100, 50), wtext.ToString());
}
}
}СХ
PD
VD
СХ
СХ
PD
public string wtext = "";_P
_P
VD
СХ
public string wtext = "";PD
СХ
PD