Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryLoadSync(TStore, out Object)

Resolves the asset from the given stored reference synchronously, when the kind supports it.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.Localization
  • Assembly: UnityEngine.LocalizationRuntimeModule

TryLoadSync(T, Object)

protected abstract bool TryLoadSync(TStore store, out Object asset)

Parameters

store

T
The resolved store.

asset

The resolved asset, or
null
on a miss.

Returns

Type

Description

bool
true
when the asset resolved synchronously; otherwise
false
.