# EditorConfig for Unity Project root = true [*] charset = utf-8 insert_final_newline = true trim_trailing_whitespace = true [*.cs] indent_style = space indent_size = 4 end_of_line = crlf # Unity Editor Only Usage Analyzer # ERROR (màu đỏ) khi sử dụng code trong #if UNITY_EDITOR từ code không có directive dotnet_diagnostic.UNITY_EDITOR_ONLY_USAGE.severity = error # Các rule khác cho Unity dotnet_analyzer_diagnostic.category-Unity.severity = warning [*.{asmdef,asmref}] indent_size = 2 [*.{json,md}] indent_size = 2