Method SetEntryAssetType
SetEntryAssetType(TableEntryReference, Type)
The type of asset that is expected by this entry. By default this is determined by the first asset that is added in the Editor however this can be used to override it so it always expects this asset type instead of reverting back to Object when the last asset is removed.
Declaration
public void SetEntryAssetType(TableEntryReference tableEntry, Type assetType)
Parameters
Type | Name | Description |
---|---|---|
TableEntryReference | tableEntry | The entry to set the asset type for. |
Type | assetType | The asset type to expect for this entry. To reset the override and allow the Editor to control the type pass null or |