add back minigames after merge

This commit is contained in:
2026-01-25 13:11:58 +02:00
parent 19f8efc6a7
commit 75bd66fc36
5 changed files with 11 additions and 17 deletions

View File

@@ -20,7 +20,6 @@
* peaks vaatama pea poole, mitte xr origin * peaks vaatama pea poole, mitte xr origin
* klaas on näha temast eespool * klaas on näha temast eespool
* pööramine kaamera poole - sujuvalt (slerp) * pööramine kaamera poole - sujuvalt (slerp)
* küsida Danielilt asukoha kohta
### Notes ### Notes

View File

@@ -21,19 +21,17 @@ public class InvokeAiClient : MonoBehaviour
private void Awake() private void Awake()
{ {
httpClient = new HttpClient
{
Timeout = TimeSpan.FromSeconds(120)
};
httpClient.BaseAddress = new Uri(ConfigManager.Instance.Config.invokeAIUrl);
Instance = this; Instance = this;
} }
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
httpClient = new HttpClient
{
Timeout = TimeSpan.FromSeconds(120)
};
httpClient.BaseAddress = new Uri(ConfigManager.Instance.Config.invokeAIUrl);
} }
// Update is called once per frame // Update is called once per frame

View File

@@ -13,18 +13,15 @@ public class TrellisClient : MonoBehaviour
private void Awake() private void Awake()
{ {
httpClient = new HttpClient();
httpClient.BaseAddress = new Uri(ConfigManager.Instance.Config.TrellisUrl);
Instance = this; Instance = this;
TestConnection();
} }
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
httpClient = new HttpClient();
httpClient.BaseAddress = new Uri(ConfigManager.Instance.Config.TrellisUrl);
TestConnection();
} }
// Update is called once per frame // Update is called once per frame