Added non const getter to SerializedAssetTracker

This commit is contained in:
sconel
2021-05-10 13:05:29 -07:00
parent 17ccf90480
commit 9255e4c191
2 changed files with 6 additions and 0 deletions
@@ -25,5 +25,10 @@ namespace AZ
{
return m_serializedAssets;
}
AZStd::vector<Asset<AssetData>>& SerializedAssetTracker::GetTrackedAssets()
{
return m_serializedAssets;
}
}
}
@@ -24,6 +24,7 @@ namespace AZ
AZ_RTTI(SerializedAssetTracker, "{1E067091-8C0A-44B1-A455-6E97663F6963}");
void AddAsset(Asset<AssetData>& asset);
AZStd::vector<Asset<AssetData>>& GetTrackedAssets();
const AZStd::vector<Asset<AssetData>>& GetTrackedAssets() const;
private: