The files in unity are broadly divided into several categories:
1. Resource files:
After import, the file will not change unless it is modified. For example: FBX files, map files, audio files, video files, animation files, etc.
These files are converted when they are imported into unity, and each type corresponds to a assetimporter.
2. code file:
Code files, code library files, shader files, and so on, are compiled after they are imported.
3. Serialization file:
Examples include prefab (precast), Unity3d (scene) files, Asset (scriptableobject) files, mat files (material balls), which can be deserialized directly to an instance of the corresponding class at run time.
4. Text Documents:
It is not a serialized file, but unity can be recognized as textasset. Much like a resource file, but does not require resource files to be set up and converted, such as TXT, XML files, and so on.
5. Non-serialized files:
A file that unity does not recognize. For example, a folder will also be considered a file, but it is not recognized.
6. Mate File:
1> defines the unique ID of a non-meta file with the same name in its same directory.
2> stores importsetting data for resource files.
Files in Unity