public override void AddAssetReference(string assetName) { var assetNode = m_AssetCachePool.GetAssetNode(assetName); if (assetNode != null) { ++assetNode.ReferenceCount; } }
public override void AddAssetReference(string assetName) { GetAssetDependences(assetName); for (int i = 0; i < m_AssetLoadOrder.Count; ++i) { var assetNode = m_AssetCachePool.GetAssetNode(m_AssetLoadOrder[i]); if (assetNode != null) { ++assetNode.ReferenceCount; } } }