Platform should be initialized in the Boot, before everything else. Got rid of the coroutines
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user