| | 1 | | namespace DCL.ExperiencesViewer |
| | 2 | | { |
| | 3 | | /// <summary> |
| | 4 | | /// Plugin feature that initialize the Experiences Viewer feature. |
| | 5 | | /// </summary> |
| | 6 | | public class ExperiencesViewerFeature : IPlugin |
| | 7 | | { |
| | 8 | | public IExperiencesViewerComponentController experiencesViewerComponentController; |
| | 9 | |
|
| 0 | 10 | | public ExperiencesViewerFeature() |
| | 11 | | { |
| 0 | 12 | | experiencesViewerComponentController = CreateController(); |
| 0 | 13 | | experiencesViewerComponentController.Initialize(Environment.i.world.sceneController); |
| 0 | 14 | | } |
| | 15 | |
|
| 0 | 16 | | internal virtual IExperiencesViewerComponentController CreateController() => new ExperiencesViewerComponentContr |
| | 17 | |
|
| | 18 | | public void Dispose() |
| | 19 | | { |
| 0 | 20 | | experiencesViewerComponentController.Dispose(); |
| 0 | 21 | | } |
| | 22 | | } |
| | 23 | | } |