Add initial test for game cooking (use one of the Flax Samples project)

This commit is contained in:
2024-12-04 18:46:31 +01:00
parent 93fefc9af3
commit 992d907b9c
2 changed files with 55 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
using FlaxEngine;
public class ExitOnEsc : Script
{
/// <inheritdoc />
public override void OnUpdate()
{
// Exit as soon as game starts update loaded level
Engine.RequestExit();
}
}