Cleaned up window base code

This commit is contained in:
Pasha Bibko
2026-01-15 11:17:27 +00:00
parent da7cb58ec3
commit fd61dcb2f4
8 changed files with 32 additions and 40 deletions

View File

@@ -26,20 +26,6 @@ namespace InterfaceOff
string json = File.ReadAllText(path);
Trivia = JsonUtility.FromJson<TriviaSet>(json);
string longest = "";
int length = 0;
foreach (TriviaQuestion question in Trivia.questions)
{
if (length < question.question.Length)
{
length = question.question.Length;
longest = question.question;
}
}
Debug.Log(longest);
}
public override void OnWindowInstantiation()