Navigation
API > API/Runtime > API/Runtime/RuntimeAssetCache > API/Runtime/RuntimeAssetCache/URuntimeAssetCacheBuilder_Object-
Description
Please override in your child class to provide easy access to the Asset.
This function will always get called when the Asset changes So set your specific variable here, e.g. Texture = Cast
Derived Overrides
| Name | OnSetAsset |
| Type | function |
| Header File | /Engine/Source/Runtime/RuntimeAssetCache/Public/RuntimeAssetCacheBuilders.h |
| Include Path | #include "RuntimeAssetCacheBuilders.h" |
virtual void OnSetAsset
(
UObject * NewAsset
)