Files
2026-01-19 13:48:14 -07:00

29 lines
460 B
C#

using Godot;
using System;
using System.Collections.Generic;
public partial class TipManager : RichTextLabel
{
string[] TipList =
{
"Example Tip1",
"Example Tip2",
"Example Tip3",
"Example Tip4",
"Example Tip5",
"Example Tip6",
"Example Tip7",
"Example Tip8",
"Example Tip9"
};
public override void _Ready()
{
// Get random tip and change the text to that
GD.Randomize();
Text = TipList[GD.Randi() % TipList.Length];
}
}