|
@@ -262,6 +262,8 @@ namespace GFGGame
|
|
|
|
|
|
|
|
private async void OnClickBtnSure()
|
|
private async void OnClickBtnSure()
|
|
|
{
|
|
{
|
|
|
|
|
+ if (_createInputField == null)
|
|
|
|
|
+ return;
|
|
|
string roleName = _createInputField.text;
|
|
string roleName = _createInputField.text;
|
|
|
if (string.IsNullOrEmpty(roleName))
|
|
if (string.IsNullOrEmpty(roleName))
|
|
|
{
|
|
{
|