摘要 |
A data processing method and apparatus for Unreal Script is disclosed. The method includes: reading script statements in an Unreal Script file(101); executing the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure(102); and updating the determined basic information and relationship information into the Unreal Script object structure corresponding to the structure category, to obtain an Unreal Script object set(103). In this way, a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification. |