| | 1 | | using DCL.Controllers; |
| | 2 | | using UnityEngine; |
| | 3 | |
|
| | 4 | | namespace DCL |
| | 5 | | { |
| | 6 | | /// <summary> |
| | 7 | | /// Context related to all the systems involved in the execution of decentraland scenes. |
| | 8 | | /// </summary> |
| | 9 | | public class HUDContext : System.IDisposable |
| | 10 | | { |
| | 11 | | public readonly IHUDFactory factory = null; |
| | 12 | | public readonly IHUDController controller = null; |
| 765 | 13 | | public HUDContext(IHUDFactory hudFactory, IHUDController hudController) |
| | 14 | | { |
| 765 | 15 | | this.factory = hudFactory; |
| 765 | 16 | | this.controller = hudController; |
| 765 | 17 | | } |
| | 18 | |
|
| | 19 | | public void Dispose() |
| | 20 | | { |
| 786 | 21 | | controller?.Dispose(); |
| 786 | 22 | | } |
| | 23 | | } |
| | 24 | | } |