feat: added toast support to scripting
Some checks failed
CI / build-and-test (push) Has been cancelled

This commit is contained in:
2025-11-14 15:04:00 +13:00
parent 34304fcb2c
commit f352b432d9
11 changed files with 386 additions and 64 deletions

View File

@@ -2,10 +2,11 @@ float x = 50;
float y = 100;
void Update(float dt) {
x += 50 * dt;
x += 500 * dt;
if (x > 800) {
x = 0;
Print("X position reset!");
Log(LOG_INFO, "Log INFO: reset happened");
Toast::Info("X position has been reset.");
}
}