The invention discloses a dynamic configuration mode of a Unity
list and a performance
optimization system and method, and relates to the technical field of game development, the method obtains a
list structure from an externally defined configuration file, and the
list structure comprises a
data interface source, a
data structure, a
data type and a field. And restoring the style of the list by using an externally defined configuration file, wherein the style comprises the column width and height of the list, the column title width and height, the column spacing, the
font size, the
font color, the row height, the row spacing list scroll bar width and height, the row
background color, the scroll bar
background color and the like. The scrol1Rect method of the Unity is rewritten, and the object
pool technology is added, so that the performance of the rolling list is greatly optimized. Even if the list data volume is huge, the number of game objects in the scene does not need to be optimized in a
paging mode, and only depends on the
viewport size. According to the method, through configuration and optimization, the working efficiency of the Unity development design list can be greatly improved, and meanwhile, the method has the real-time
dyeing performance far better than that of a UGUI list implementation mode.