AssetLoader is a Component that is used to tell the game that an asset is still being used. This is helpful for when an asset is referenced in a way that deletes it during asset cleanup or during save. This component will prevent the asset from being cleaned up because it has a fake user.
|Asset|IAssetProvider`1|TypeString0=IAssetProvider<IAsset`1>| The [[Type:IAsset`1|Asset]] to give a fake user.
}}
}}
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
When attaching component, specify any [[Type:IAsset`1|Asset]] type by name, and then insert an asset of that type into the asset field to give it a fake user.
AssetLoader is a Component that is used to tell the game that an asset is still being used. This is helpful for when an asset is referenced in a way that deletes it during asset cleanup or during save. This component will prevent the asset from being cleaned up because it has a fake user.