예제 #1
0
 private Environment()
 {
     messagingControllersManager = new MessagingControllersManager();
     pointerEventsController     = new PointerEventsController();
     memoryManager = new MemoryManager();
     clipboard     = Clipboard.Create();
 }
 public static PlatformContext CreateDefault()
 {
     return(new PlatformContext(
                memoryManager: new MemoryManager(),
                cullingController: CullingController.Create(),
                clipboard: Clipboard.Create(),
                physicsSyncController: new PhysicsSyncController(),
                parcelScenesCleaner: new ParcelScenesCleaner(),
                debugController: new DebugController()));
 }
 public static PlatformContext CreateDefault()
 {
     return(new PlatformContext(
                memoryManager: new MemoryManager(),
                cullingController: CullingController.Create(),
                clipboard: Clipboard.Create(),
                physicsSyncController: new PhysicsSyncController(),
                parcelScenesCleaner: new ParcelScenesCleaner(),
                debugController: new DebugController(new BotsController()),
                webRequest: WebRequestController.Create(),
                serviceProviders: new ServiceProviders(),
                idleChecker: new IdleChecker(),
                avatarsLODController: new AvatarsLODController()));
 }