Exemple #1
0
        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);
        }
Exemple #2
0
        public void SearchAssets()
        {
            var childWindow = new SearchAssets(this);

            childWindow.Show();
        }