Fixed the Portal Visuals

This commit is contained in:
Thorbjoern
2025-06-20 15:52:35 +02:00
parent 9bf311641e
commit 8566fb5fa2
7 changed files with 657 additions and 1158 deletions
@@ -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}");
}
}
}
}