TryLoadAsset(out Object)
Tries to resolve the entry's asset without loading asynchronously.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
TryLoadAsset(Object)
bool TryLoadAsset(out Object asset)
Parameters
The resolved asset, or on a miss.
nullReturns
Type | Description |
|---|---|
| bool | |
Remarks
Return and set when the asset resolves immediately; return on a miss and leave as .
trueassetfalseassetnull