Fixed the Portal Visuals
This commit is contained in:
@@ -162,5 +162,22 @@ namespace GhostSystem
|
||||
Debug.LogError($"❌ Google connection failed: {www.error}");
|
||||
}
|
||||
}
|
||||
|
||||
private async UniTask CheckApacheConnectionAsync()
|
||||
{
|
||||
using var www = UnityWebRequest.Get("http://192.168.0.85/test/index.html");
|
||||
await www.SendWebRequest();
|
||||
|
||||
if (www.result == UnityWebRequest.Result.Success)
|
||||
{
|
||||
textbox.text += "\n\rApache request succeeded.";
|
||||
Debug.Log("Apache request succeeded.");
|
||||
}
|
||||
else
|
||||
{
|
||||
textbox.text += $"\n\rApache connection failed: {www.error}";
|
||||
Debug.LogError($"❌ Apache connection failed: {www.error}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user