| | 1 | | using DCL; |
| | 2 | |
|
| | 3 | | namespace DCLPlugins.ECS6.HidePortableExperiencesUiFeatureToggle |
| | 4 | | { |
| | 5 | | public class HidePortableExperiencesUiPlugin : IPlugin |
| | 6 | | { |
| | 7 | | private readonly HidePortableExperiencesUiController controller; |
| | 8 | |
|
| 0 | 9 | | public HidePortableExperiencesUiPlugin() |
| | 10 | | { |
| 0 | 11 | | controller = new HidePortableExperiencesUiController( |
| | 12 | | Environment.i.world.state, |
| | 13 | | DataStore.i.HUDs.isSceneUiEnabled, |
| | 14 | | DataStore.i.world.portableExperienceIds); |
| 0 | 15 | | } |
| | 16 | |
|
| | 17 | | public void Dispose() |
| | 18 | | { |
| 0 | 19 | | controller.Dispose(); |
| 0 | 20 | | } |
| | 21 | | } |
| | 22 | | } |