Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Sep 16, 2015 at 10:03 PM by DaiMangouDev for the following reason:

Other

avatar image
0
Question by DaiMangouDev · Sep 12, 2015 at 10:29 PM · c#editoreditorwindowassetdatabase

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 ?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Mako-Infused · Sep 12, 2015 at 10:36 PM 2
Share

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?

avatar image DaiMangouDev Mako-Infused · Sep 13, 2015 at 12:07 AM 0
Share

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.

avatar image Mako-Infused DaiMangouDev · Sep 13, 2015 at 02:21 AM 0
Share

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.

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

28 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I return the path of a sub-asset in an AssetDatabase ? 0 Answers

Listen to Keyboard Events on EditorWindow 1 Answer

Using Hidden folders for editor stuff? 1 Answer

Initialising List array for use in a custom Editor 1 Answer

Editor Windows - Where to get started? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges