Gave an exit animation to windows

This commit is contained in:
2026-01-19 21:18:50 +00:00
parent 59596fead8
commit e58db7d6af
6 changed files with 23 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ namespace InterfaceOff
Trivia = JsonUtility.FromJson<TriviaSet>(json);
}
public override void OnWindowInstantiation()
protected override void OnWindowInstantiation()
{
/* Fetches a random question and sets it as the title */
TriviaQuestion question = Trivia.questions[Random.Range(0, Trivia.questions.Length)];