Table of Contents

Delegate AssetManager.LoadPrefabDelegate

Namespace
TAssetBundle.Extensions
Assembly
TAssetBundle.Extensions.dll

Delegate for loading a prefab.

public delegate void AssetManager.LoadPrefabDelegate(IGetProgressable getProgressable, string assetPath, object userData, bool waitForEndOfFrame, Action<AssetInfo<GameObject>> onComplete)

Parameters

getProgressable IGetProgressable

Progressable interface.

assetPath string

Path to the asset.

userData object

User data.

waitForEndOfFrame bool

Whether to wait for the end of the frame.

onComplete Action<AssetInfo<GameObject>>

Callback when loading is complete.