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(), webRequest: WebRequestController.Create())); }
public static WebRequestController Create() { WebRequestController newWebRequestController = new WebRequestController(); newWebRequestController.Initialize( genericWebRequest: new WebRequest(), assetBundleWebRequest: new WebRequestAssetBundle(), textureWebRequest: new WebRequestTexture(), audioClipWebRequest: new WebRequestAudio()); return(newWebRequestController); }
public void Initialize( IWebRequest genericWebRequest, IWebRequest assetBundleWebRequest, IWebRequest textureWebRequest, IWebRequestAudio audioClipWebRequest) { i = this; this.genericWebRequest = genericWebRequest; this.assetBundleWebRequest = assetBundleWebRequest; this.textureWebRequest = textureWebRequest; this.audioClipWebRequest = audioClipWebRequest; }
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())); }