Method and terminal for exporting UI resources through LayaAir engine
A resource and engine technology, applied in the field of exporting UI resources of LayaAir engine, can solve the problems of high time consumption, affecting the export speed of the initial package of the application, etc., to achieve a high degree of automation, speed up the export speed, and optimize the loading process.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0083] Please refer to figure 1 , a method for exporting UI resources by a LayaAir engine, including steps:
[0084] S1. When configuring the export of the UI interface in the separation mode through the LayaAir engine, create a dependency relationship between the UI interface and its corresponding UI resource;
[0085] Among them, the specific operation of configuring the export of the UI interface in the separation mode through the LayaAir engine is as follows:
[0086] Open the LayaAir engine, switch to the LayaIDE panel and press the F9 shortcut key, select the separation mode in the UI mode option bar of the pop-up box, and enter "bin / viewJson / ui.json" in the release directory input field for loading UI resources (in the current project The UI resource storage path under the bin folder of the UI interface), configure the UI export mode and the generation path of the json data file of each UI interface in the UI interface data export panel;
[0087] Wherein, creating the...
Embodiment 2
[0142] Please refer to figure 2 , a terminal 1 for exporting UI resources by a LayaAir engine, including a memory 2, a processor 3, and a computer program stored on the memory 2 and operable on the processor 3, and the processor 3 implements when executing the computer program Steps in Example 1.
[0143] To sum up, when configuring the export of the UI interface in the separation mode through the LayaAir engine, create a dependency relationship between the UI interface and its corresponding UI resource; when opening the UI interface, according to the UI interface and its corresponding Dependencies of UI resources, load the UI resources corresponding to the UI interface; when the UI interface is opened, the corresponding UI resources can be automatically loaded according to the dependencies, the degree of automation is high, and the loading process of UI resources is optimized, and due to You can set the corresponding UI resources that need to be loaded, and you can load the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com