allow passing uberarchive path to FilamentViewer and expose destroy_viewer

This commit is contained in:
Nick Fisher
2023-10-04 14:49:48 +08:00
parent 6980e5cb23
commit 45576466c9
16 changed files with 368 additions and 261 deletions

View File

@@ -9,6 +9,10 @@ import 'filament_controller.dart';
typedef AssetManager = int;
///
/// This is a previous iteration of FilamentController that used platform channels for every distinct platform.
/// This is no longer used; currently kept only for reference/posterity.
///
class FilamentControllerMethodChannel extends FilamentController {
late MethodChannel _channel = MethodChannel("app.polyvox.filament/event");
@@ -636,4 +640,10 @@ class FilamentControllerMethodChannel extends FilamentController {
throw Exception("Failed to reveal mesh $meshName");
}
}
@override
Future destroy() {
// TODO: implement destroy
throw UnimplementedError();
}
}