Publisher | Leeroy Studio |
---|---|
File size | 360.31kB |
Number of files | 38 |
Latest version | 1.0.0. Release Version |
Latest release date | 2024-05-21 07:34:13 |
First release date | 2024-05-21 07:34:13 |
Supported Unity versions | 2018.4.2 or higher |
Optimized UI Components - Canvas is a powerful asset designed to streamline UI lifecycle management in Unity projects. By leveraging Addressables, this asset enables seamless opening and closing transitions while optimizing performance and memory usage, even in complex scenes.
Key Features:
- Addressable Integration: Utilizes Addressables to enhance UI lifecycle management, facilitating dynamic loading and unloading of screens at runtime.
- Performance Optimization: By dynamically loading screens at runtime and unloading them when not needed, this asset optimizes performance and memory usage, particularly beneficial for complex screens and scenes.
- Garbage Collector Management: Effectively manages memory resources by loading and unloading screens into separate scenes when not needed, thereby efficiently utilizing the garbage collector.
- Modularity and Management: Screens are categorized into single and additive types, enhancing modularity and ease of management within the Unity environment.
- Allows for dependency injection, ensuring screens activate only when all dependencies have been loaded.
- Enables addition of initial screens to be loaded at the beginning of the game and unloaded at the end, enhancing overall gameplay experience.
Sample Scenes:
- Single Additive Sample: Demonstrates runtime instantiation of screens with optimized efficiency, categorizing screens into single and additive types.
- Dependency Waiter Samples: Explores the incorporation of dependencies to screens, activating them only when all dependencies are fulfilled.
- Multiple Screens Sample: Delves into runtime instantiation of screens, emphasizing their inaccessibility for reopening until released.
- Initial Screens Sample: Utilizes the InitialScreens field to automatically open specified screens at the beginning of the game, enhancing overall gameplay experience.