Skip to content
Snippets Groups Projects
Commit 3fb1661d authored by Nicolas Leins's avatar Nicolas Leins
Browse files

show heatmap in evaluation menu

parent 1163e852
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
......@@ -88,7 +88,7 @@ namespace TeachR.ApplicationManager
public static List<string[]> NoticedSolvedData { get; set; } = new List<string[]>();
public static Texture2D HeatMapTexture;
public static Texture2D HeatMapTexture = null;
/// <summary>
/// Properties of the class room.
......
......@@ -17,6 +17,8 @@ namespace TeachR.Measurements
[SerializeField] private Toggle isPresentation;
[SerializeField] private Toggle isAutomaticIntervention;
[SerializeField] private GameObject heatMap;
//public GameObject expDropdown;
public GameObject evaluationWalkingBackground;
private Texture[] textures = new Texture[5];
......@@ -51,7 +53,10 @@ namespace TeachR.Measurements
evalMisbSolved.text = MenuDataHolder.MisbehaviourSolved.ToString();
evalMisbSeen.text = MenuDataHolder.MisbehaviourSeen.ToString();
if(MenuDataHolder.HeatMapTexture != null)
{
heatMap.GetComponent<Renderer>().material.mainTexture = MenuDataHolder.HeatMapTexture;
}
// Setup basic experiments for selection. (currently) To add new experiments edit this.
// TODO Find a better way to do this
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment