Method GetInitializationOperation
GetInitializationOperation()
The localization system may not be immediately ready. Loading Locales, preloading assets etc. This operation can be used to check when the system is ready. You can yield on this in a coroutine to wait. If InitializeSynchronously is true then this operation will complete synchronously the first time it is called. Uses WaitForCompletion to force the loading to complete synchronously. Please note that WaitForCompletion is not supported on WebGL and InitializeSynchronously will be ignored when running on WebGL.
Declaration
public virtual AsyncOperationHandle<LocalizationSettings> GetInitializationOperation()
Returns
Type | Description |
---|---|
AsyncOperationHandle<LocalizationSettings> |