-
Notifications
You must be signed in to change notification settings - Fork 169
Library
The library indexes all UMA items so they can be accessed at runtime. The library window can be opened by choosing Global Library from the UMA menu. The library can run in several modes. In the first, default mode, the library keeps a reference to every item that is in use, and all items are loaded into memory from resources at startup. In the second mode ("addressables"), the library only keeps the item information loaded. When an item is needed to construct a character, it is loaded into memory asynchronously. When an item is no longer in use, it is unloaded. This happens automatically during the build process, though you can preload the most used items to keep them in memory if you wish (using code, or the preloader component).
The library has a feature to rebuild it when needed (file/Rebuild from project). This will scan your entire project, and add every asset that UMA needs to the library. This may not be what you want in many cases (ie, you don't want to bloat the library adding test files, work in progress, or every animator). To address this, you can specify a set of filters (by item type) for what is allowed to be automatically added to the library. The Global Library Filters window is availble from the UMA menu.