| | 1 | | /// <summary> |
| | 2 | | /// Plugin feature that initialize the ExploreV2 feature. |
| | 3 | | /// </summary> |
| | 4 | | public class TransactionFeature : IPlugin |
| | 5 | | { |
| | 6 | | public readonly ITransactionHUDController transactionHUDController; |
| | 7 | |
|
| 0 | 8 | | public TransactionFeature() |
| | 9 | | { |
| 0 | 10 | | transactionHUDController = CreateController(); |
| 0 | 11 | | transactionHUDController.Initialize(); |
| 0 | 12 | | } |
| | 13 | |
|
| 0 | 14 | | internal virtual ITransactionHUDController CreateController() => new TransactionHUDController(); |
| | 15 | |
|
| | 16 | | public void Dispose() |
| | 17 | | { |
| 0 | 18 | | transactionHUDController.Dispose(); |
| 0 | 19 | | } |
| | 20 | | } |