File import method and device, electronic equipment and computer readable medium
The invention provides a method and a device for importing a file, electronic equipment and a computer readable medium. The method comprises the following steps: acquiring a to-be-loaded file aiming at a Unity engine; if the file type of the to-be-loaded file is a target type, the to-be-loaded file...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a method and a device for importing a file, electronic equipment and a computer readable medium. The method comprises the following steps: acquiring a to-be-loaded file aiming at a Unity engine; if the file type of the to-be-loaded file is a target type, the to-be-loaded file is decapsulated to obtain a decapsulation result, and the decapsulation result at least comprises video data of the to-be-loaded file; based on the de-encapsulation result, generating an animation editing file; and importing the animation editing file into the Unity engine, so that the Unity engine replaces execution of the to-be-loaded file by executing the animation editing file. Therefore, when the to-be-loaded file aiming at the Unity engine is received, the animation edited file is used as an actually imported and executed file, so that the content in the to-be-loaded file can be actually and reliably executed. In this way, the application range of the file format of the Unity engine can be widened, and the ex |
---|