Analysis of Automatic Detection Algorithm for Network UI Design Violations Based on Unity3D
The network UI design based on the Unity3D engine faces design violations such as unreasonable interface layout, non-compliant interactive operations, and potential interface element errors. This paper proposes a UI violation detection algorithm based on the Unity3D engine. The algorithm first traverses the UI tree structure of the Unity3D scene, starting from the root node and going deeper layer by layer to obtain all UI objects and their component information one by one. Next, specific and detailed violation detection rules are set according to the UI design specifications. At the same time, in order to detect interactive operations more accurately, a ray detection algorithm module is introduced to simulate user operations and detect various interaction modes of UI objects, such as ray interaction, trigger interaction, and field of view. Through the ray detection algorithm, it detects whether the button is clicked correctly and whether the drag operation is smooth. In the violation determination stage, the information of each UI object is compared one by one with the preset violation detection rules. A comparison found that the algorithm is superior to traditional manual detection methods in terms of detection speed and accuracy. The average detection time is shortened to 1.68 seconds and the accuracy is as high as 99.1%. In addition, the detection efficiency and accuracy of the algorithm are further improved by integrating feedback learning mechanism, modular design and optimizing algorithm performance. This study not only provides a new automated method for network UI design violation detection, but also verifies its effectiveness in practical applications through experimental data.
Authors
- Zongjin Li (ORCID: https://orcid.org/0000-0002-8477-6863)
Institutions
- Weifang University of Science and Technology (CN)
Publication Details
- Published
- 2025-03-07
- DOI
- https://doi.org/10.1109/csnt64827.2025.10967976
- Primary Topic
- Simulation and Modeling Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00