Add most of research

This commit is contained in:
Bram verhulst
2025-05-31 15:54:23 +02:00
commit 70f128f092
270 changed files with 80847 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class WorldVisualizor : MonoBehaviour
{
[SerializeField] public TextMeshProUGUI states;
void LateUpdate()
{
Dictionary<string, int> worldStates = AI_World.Instance.GetWorld().GetStates();
states.text = "";
foreach (KeyValuePair<string, int> pair in worldStates)
{
states.text += pair.Key + ", " + pair.Value + "\n";
}
}
}