Version: Unity 7.0 Alpha (7000.0)
Language : English
Customizing new scene creation
Format of text serialized files

Text-based scene files

Unity provides a text-based format for scene data, in addition to the default binary format. This can be useful when working with version control software, because text files generated separately can be merged more easily than binary files. Also, the text data can be generated and parsed by tools, making it possible to create and analyze scenes automatically. The pages in this section provide some reference material for working with the format.

Topic Description
Format of text serialized files Understand the structure and syntax of Unity’s text-based serialization format for scenes and assets.
UnityYAML Learn about Unity’s implementation of YAML and the specific conventions used in scene files.
An example of a YAML scene file An example of a scene file in YAML format with explanations of key elements.
YAML serialization of prefabs Understand how prefab instances, nested prefabs, and prefab variants are represented in YAML.
Example of YAML prefab serialization Annotated YAML excerpts of prefab instances, nested prefabs, and prefab variants from real files.
YAML class ID reference Reference list of class IDs used in YAML files to identify different Unity object types.
Fix broken animation field paths with YAML Fix broken target paths for renamed GameObject in animation clips with YAML

Additional resources

Customizing new scene creation
Format of text serialized files
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961