기술 자료

Unity Engine

Unity Engine

serializeInlineMappingsOnOneLine

[Obsolete] Unity now always serializes inline mappings on one line. This property always returns true.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
경고
Deprecated. serializeInlineMappingsOnOneLine is deprecated. Unity now always serializes inline mappings on one line. This property always returns true.
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
true
and setting it has no effect.
Unity always serializes inline mappings like this:
m_MySerializedAssetReference: {fileID: 10304, guid: a2eb3ee376dd24a4f9221a30765d895b, type: 3}