protected override void OnLoad() { IsLoad = false; var FullPath = GetInternalAssetPath(); if (!File.Exists(FullPath)) { LLogger.LWarning($"Load AssetInternal : {FullPath} Failed"); } else { RefCount_ = 0; IsLoad = true; Buffer = File.ReadAllBytes(FullPath); Asset_ = new AssetInternalTextAsset(Buffer); } }
public DataAssetInternalCache(AssetCacheType BundleType, string AssetPath) : base(BundleType, AssetPath) { Buffer = null; Asset_ = null; }