【修复】新增code_cs_unity_editor_json时失误改了cs_json的模板。回滚

main
walon 2022-01-29 11:05:49 +08:00
parent 7f9c4e93d6
commit 9f687adcf1
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ using System.Text.Json;
hierarchy_export_fields = x.hierarchy_export_fields hierarchy_export_fields = x.hierarchy_export_fields
}} }}
namespace {{x.namespace_with_editor_top_module}} namespace {{x.namespace_with_top_module}}
{ {
{{~if x.comment != '' ~}} {{~if x.comment != '' ~}}
@ -18,7 +18,7 @@ namespace {{x.namespace_with_editor_top_module}}
/// {{x.escape_comment}} /// {{x.escape_comment}}
/// </summary> /// </summary>
{{~end~}} {{~end~}}
public {{x.cs_class_modifier}} partial class {{name}} : {{if parent_def_type}} {{parent}} {{else}} Bright.Config.EditorBeanBase {{end}} public {{x.cs_class_modifier}} partial class {{name}} : {{if parent_def_type}} {{parent}} {{else}} Bright.Config.BeanBase {{end}}
{ {
public {{name}}(JsonElement _json) {{if parent_def_type}} : base(_json) {{end}} public {{name}}(JsonElement _json) {{if parent_def_type}} : base(_json) {{end}}
{ {