| | 1 | | namespace DCL.ExperiencesViewer |
| | 2 | | { |
| | 3 | | /// <summary> |
| | 4 | | /// Plugin feature that initialize the Experiences Viewer feature. |
| | 5 | | /// </summary> |
| | 6 | | public class ExperiencesViewerPlugin : IPlugin |
| | 7 | | { |
| | 8 | | private readonly ExperiencesViewerController controller; |
| | 9 | |
|
| 0 | 10 | | public ExperiencesViewerPlugin() |
| | 11 | | { |
| 0 | 12 | | controller = new ExperiencesViewerController(ExperiencesViewerComponentView.Create(), |
| | 13 | | DataStore.i, Environment.i.world.state, new WebInterfacePortableExperiencesBridge()); |
| 0 | 14 | | } |
| | 15 | |
|
| | 16 | | public void Dispose() |
| | 17 | | { |
| 0 | 18 | | controller.Dispose(); |
| 0 | 19 | | } |
| | 20 | | } |
| | 21 | | } |