Synced
AssetDatabase.Load
Section titled “AssetDatabase.Load”
- Loads the canonical asset at one catalog path.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public TAsset Inno.Assets.AssetDatabase.Load<TAsset>(Inno.Assets.AssetPath path) where TAsset : Inno.Assets.AssetObjectType parameters
Section titled “Type parameters”Type parameter TAsset: The required runtime asset contract.
Parameters
Section titled “Parameters”Parameter path: The mount-qualified logical catalog path.
Returns
Section titled “Returns”The canonical asset instance owned by this database.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when no asset exists at the path or its concrete type is incompatible with TAsset.
Exception T:System.ObjectDisposedException: Thrown when this database has been disposed.