Version: 2023.2

EditorSettings.lineEndingsForNewScripts

切换到手册
public static LineEndingsMode lineEndingsForNewScripts ;

描述

Determines what line endings to use in a new C# file created in the Editor.