- Home /
Refresh single asset
Basically, I need a AssetDatabase.Refresh but which refresh a single Asset.
I'm editing an asset with an EditorWindow component, and to reflect the changes I'm calling AssetDatabase.Refresh, but it takes too long.
Is there any way I can do the same thing as when you right-click an asset and then Refresh?
Post your code, and we can see what is going wrong .
Answer by Demigiant · Nov 07, 2012 at 09:11 PM
Use AssetDatabase.ImportAsset and specify that single asset.
Your answer
Follow this Question
Related Questions
Error using ImportAssetOptions.ForceSynchronousImport 2 Answers
EditorUtiltiy.GetAssetPreview(Object asset) 0 Answers
AssetDataBase.CreateFolder doesn't work in Editor folder? 0 Answers
Editing and Undo for non-unity properties 2 Answers
How do I make a progress bar in the editor lock the background? 0 Answers