public SearchResult(NGAssetFinderWindow window) { this.window = window; this.searchTime = Time.realtimeSinceStartup; this.targetAsset = this.window.targetAsset; this.replaceAsset = this.window.replaceAsset; this.searchOptions = this.window.searchOptions; this.searchAssets = this.window.searchAssets; this.searchExtensionsMask = this.window.searchExtensionsMask; this.useCache = this.window.useCache; this.targetAssetName = this.targetAsset.name; this.targetAssetIcon = Utility.GetIcon(this.targetAsset); }
public void SearchAssets() { var childWindow = new SearchAssets(this); childWindow.Show(); }