| | 1 | | namespace DCL |
| | 2 | | { |
| | 3 | | /// <summary> |
| | 4 | | /// Context related to enqueueing and processing of world runtime scene messages. |
| | 5 | | /// </summary> |
| | 6 | | [System.Obsolete("This is kept for retrocompatibilty and will be removed in the future. Use Environment.i.serviceLoc |
| | 7 | | public class MessagingContext |
| | 8 | | { |
| | 9 | | private ServiceLocator serviceLocator; |
| 1005 | 10 | | public IMessagingControllersManager manager => serviceLocator.Get<IMessagingControllersManager>(); |
| | 11 | |
|
| 0 | 12 | | public MessagingContext (ServiceLocator serviceLocator) |
| | 13 | | { |
| 0 | 14 | | this.serviceLocator = serviceLocator; |
| 0 | 15 | | } |
| | 16 | | } |
| | 17 | | } |