![]() ![]() OnPostProcessAllAssets should be used for initialization after a domain reload, if the initialization requires asset operations like loading of assets. You can safely perform any asset database operations from within this callback, such as loading, importing, moving or deleting assets. OnPostProcessAllAssets is called when the asset database finishes importing assets. If you perform a bulk operation on several individual assets instead of a folder containing those assets, this function will be called once per asset with each individual asset as the only item in the various arrays. Each consecutive index of movedAssets and movedFromAssetPaths refers to the same asset. importedAssets contains paths of all assets used in the operation. Every string array item contains a file path relative to the Assets folder, under the Project root. This call may occur after a manual reimport, or when you move an asset or a folder of assets to a new location in the Project window.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |