MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ~SoftAssetReferenceBase

Method ~SoftAssetReferenceBase

Source/Engine/Content/Asset.cpp:152–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152SoftAssetReferenceBase::~SoftAssetReferenceBase()
153{
154 Asset* asset = _asset;
155 if (asset)
156 {
157 _asset = nullptr;
158 asset->RemoveReference(this);
159 }
160#if !BUILD_RELEASE
161 _id = Guid::Empty;
162#endif
163}
164
165String SoftAssetReferenceBase::ToString() const
166{

Callers

nothing calls this directly

Calls 1

RemoveReferenceMethod · 0.45

Tested by

no test coverage detected