예제 #1
0
        public override void AddAssetReference(string assetName)
        {
            var assetNode = m_AssetCachePool.GetAssetNode(assetName);

            if (assetNode != null)
            {
                ++assetNode.ReferenceCount;
            }
        }
예제 #2
0
 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;
         }
     }
 }