Method CreateSearchAllRequest
CreateSearchAllRequest(bool, Action<Request<PackageInfo[]>>, Action<Request<PackageInfo[]>>)
Queue a job to search the Unity package registry for all packages compatible with the current Unity version.
Declaration
public static void CreateSearchAllRequest(bool offlineMode, Action<Request<PackageInfo[]>> onSuccess, Action<Request<PackageInfo[]>> onFail)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | offlineMode | Specifies whether or not the Package Manager requests the latest information about the project's packages from the remote Unity package registry. When offlineMode is true, the PackageInfo objects in the PackageCollection returned by the Package Manager contain information obtained from the local package cache, which could be out of date. |
| Action<Request<PackageInfo[]>> | onSuccess | Action which is executed if the request succeeded |
| Action<Request<PackageInfo[]>> | onFail | Action which is executed if the request failed |