- Home /
Other
How do I wait until after AssetDatabase creates an assets before carrying out another function ?
Hi guys ,
I dont see anything in AssetDatabase that will allow for me to check if an asset is being created .
I need to be able to wait until aftet my asset is created befor I carry out my next function.
How can I get this done ?
That method is not asynchronous, everything afterwards will be called when the asset is created. Am I misunderstanding the question? Perhaps you can provide an example where this isn't happening for you?
ahhh no no you are spot on. I figured that was the case but I couldn't test it , because if my test failed then my project would be messed up.
Yeah, I understand you definitely don't wanna make a mistake when it comes to asset changes. That's why I have a separate "Test" project where I throw in all my unreliable code to see what will happen.