Fixed the Portal Visuals
This commit is contained in:
@@ -95,7 +95,7 @@ namespace GhostSystem
|
||||
RotationJson = JsonConvert.SerializeObject(rotation)
|
||||
};
|
||||
|
||||
Debug.Log($"Insert frame with user_id: {SupabaseManager.instance.userId}");
|
||||
//Debug.Log($"Insert frame with user_id: {SupabaseManager.instance.userId}");
|
||||
|
||||
await SupabaseManager.instance.supabase.From<FrameModel>().Insert(data);
|
||||
}
|
||||
|
||||
@@ -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