Browse Source

fixed editparams

master
jkpete 2 months ago
parent
commit
258b6e9ac2
  1. 4
      Example/SaveSystem/Scene/SaveSystem.tscn
  2. 2
      addons/EGFramework/Module/GenerateTools/Templete/Code/EGSvgGenerator.cs
  3. 0
      addons/EGFramework/Module/GenerateTools/Templete/Godot/UI/EGodotEditParam.cs
  4. 2
      addons/EGFramework/Module/GenerateTools/Templete/Variant/EGVariantGenerator.cs

4
Example/SaveSystem/Scene/SaveSystem.tscn

@ -23,8 +23,8 @@ texture = ExtResource("2_qt8hb")
[node name="TabContainer" type="TabContainer" parent="."] [node name="TabContainer" type="TabContainer" parent="."]
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = -1
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 0.5
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2

2
addons/EGFramework/Module/GenerateTools/Templete/Code/EGSvgGenerator.cs

@ -1,4 +1,4 @@
namespace EGFramework.Generate{ namespace EGFramework.Code{
public class EGSvgGenerator : IGenerateToolsInterface public class EGSvgGenerator : IGenerateToolsInterface
{ {
public string SvgHeader { get ; private set;} public string SvgHeader { get ; private set;}

0
addons/EGFramework/Module/GenerateTools/Templete/Godot/EGodotEditParam.cs → addons/EGFramework/Module/GenerateTools/Templete/Godot/UI/EGodotEditParam.cs

2
addons/EGFramework/Module/GenerateTools/Templete/Variant/EGVariantGenerator.cs

@ -2,7 +2,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
namespace EGFramework.Generate{ namespace EGFramework{
public static class EGenerateVariant{ public static class EGenerateVariant{
public static Dictionary<string,object> EGenerateDictiontaryByObject<T>(this T self){ public static Dictionary<string,object> EGenerateDictiontaryByObject<T>(this T self){
PropertyInfo[] propertyNames = typeof(T).GetProperties(); PropertyInfo[] propertyNames = typeof(T).GetProperties();

Loading…
Cancel
Save