Made trivia questions work

This commit is contained in:
Pasha Bibko
2026-01-15 11:42:10 +00:00
parent fd61dcb2f4
commit 4eea7f8836
9 changed files with 271 additions and 8 deletions

View File

@@ -9,6 +9,10 @@ namespace InterfaceOff
public override void OnWindowInstantiation()
{
/* Adds a random advert to the display */
Components.WindowImage.sprite = AdvertRegistry.GetRandomAdvert();
Components.WindowImage.color = new Color(1, 1, 1, 1);
/* Calculates a random health value */
m_Health = Random.Range(2, 6);
}