Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#
Method group is Obsolete

EditorSettings.serializeInlineMappingsOnOneLine

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Obsolete serializeInlineMappingsOnOneLine is deprecated. Unity now always serializes inline mappings on one line. This property always returns true. public static bool serializeInlineMappingsOnOneLine;

Description

[Obsolete] Unity now always serializes inline mappings on one line. This property always returns true.

This property is deprecated. Unity now always writes references and similar YAML structures on one line to reduce version control noise. The property always returns `true` and setting it has no effect.

Unity always serializes inline mappings like this:
m_MySerializedAssetReference: {fileID: 10304, guid: a2eb3ee376dd24a4f9221a30765d895b, type: 3}