serializeInlineMappingsOnOneLine
[Obsolete] Unity now always serializes inline mappings on one line. This property always returns true.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool serializeInlineMappingsOnOneLine { get; set; }
Remarks
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 and setting it has no effect.
trueUnity always serializes inline mappings like this:
m_MySerializedAssetReference: {fileID: 10304, guid: a2eb3ee376dd24a4f9221a30765d895b, type: 3}