Property WebRequestOverride
WebRequestOverride
Delegate that can be used to override the web request options before being sent.
선언
public static Action<UnityWebRequest> WebRequestOverride { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
Action<UnityWebRequest> |
참고
You can assign a function to the Addressables object's WebRequestOverride property to individually modify the UnityWebRequest which is used to download files.
This can be used to add custom request headers or query strings.
This affects all downloads through Addressables including catalog files and asset bundles.
Assigning this value through the Addressables object will set the value on the ResourceManager.
For example you could add an Authorization header to authenticate with Cloud Content Delivery's private buckets.