Platform should be initialized in the Boot, before everything else. Got rid of the coroutines

This commit is contained in:
Sebastian Bularca
2026-06-18 23:53:51 +02:00
parent 5517fc17a2
commit 7cb7089d2f
9 changed files with 71 additions and 79 deletions

View File

@@ -1,5 +1,6 @@
using Nox.Input;
using System.Collections;
using System.Threading.Tasks;
namespace Nox.Platform {
@@ -16,7 +17,7 @@ namespace Nox.Platform {
/// </summary>
public interface IPlatform {
PlatformSettings PlatformSettings { get; }
IEnumerator Initialize(object applicationData);
Task Initialize(object applicationData);
IInput InitializeInput();
void Tick();
void Dispose();