Tell the user why they can't send requests on self-built instance
This commit is contained in:
@@ -7,6 +7,7 @@ public class MenuScript : MonoBehaviour
|
||||
public Button exitButton;
|
||||
public TMP_Text updateText;
|
||||
public Button updateButton;
|
||||
public GameObject selfBuiltPanel;
|
||||
|
||||
void Awake()
|
||||
{
|
||||
@@ -25,5 +26,6 @@ public class MenuScript : MonoBehaviour
|
||||
Application.Quit();
|
||||
});
|
||||
}
|
||||
if (SensitiveInfo.SERVER_RECEIVE_TRANSFER_KEY.Trim() == string.Empty || SensitiveInfo.SERVER_SEND_TRANSFER_KEY.Trim() == string.Empty) selfBuiltPanel.SetActive(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user