mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-17 09:24:35 +08:00
Update ComponentTemplatePropertyDrawer.cs
This commit is contained in:
parent
26afa999a9
commit
27b352032d
@ -49,7 +49,7 @@ namespace DCFApixels.DragonECS.Unity.Editors
|
||||
private static SerializedProperty currentProperty;
|
||||
private static void SelectComponent(ComponentTemplatesDropDown.Item item)
|
||||
{
|
||||
EcsGUI.Changed = true;
|
||||
//EcsGUI.Changed = true;
|
||||
currentProperty.managedReferenceValue = item.Obj.Clone();
|
||||
currentProperty.isExpanded = false;
|
||||
currentProperty.serializedObject.ApplyModifiedProperties();
|
||||
|
Loading…
Reference in New Issue
Block a user