public void Load(IntPtr engineHandle) { Task.Run(() => { DefaultScene.Parent = engineHandle; using (var context = new Context()) { using (var application = new DefaultScene(context)) { application.Run(); } } }); }
public DefaultScene(Context context) : base(context) { Instance = this; }