public void OnAfterDeserialize() { if (null == m_editorConfig) { m_editorConfig = new RenderCachePlayableAssetEditorConfig(); } if (m_version < (int)RenderCachePlayableAssetVersion.WATCHED_FILE_0_4) { if (null != m_imageFileNames && m_imageFileNames.Count > 0) { m_imageFiles = WatchedFileInfo.CreateList(m_folder, m_imageFileNames); m_imageFileNames.Clear(); } } if (m_version < (int)RenderCachePlayableAssetVersion.CONFIG_0_7) { m_editorConfig.SetUpdateBGColor(m_updateBGColor); } m_version = CUR_RENDER_CACHE_PLAYABLE_ASSET_VERSION; }
RenderCachePlayableAsset() : base() { m_editorConfig = new RenderCachePlayableAssetEditorConfig(); }