diff --git a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs index 3e2cf247..0aa48697 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs @@ -21,6 +21,12 @@ public class TextureSchema : ScannerSchema /// public int MaxHeight = 1024; + /// + /// 测试列表 + /// + public List TestStringValues = new List(); + + /// /// 获取用户指南信息 /// @@ -177,6 +183,12 @@ public class TextureSchema : ScannerSchema }); container.Add(maxHeightField); + // 创建测试列表 + ReorderableListView reorderableListView = new ReorderableListView(); + reorderableListView.SourceData = TestStringValues; + reorderableListView.HeaderName = "测试列表"; + container.Add(reorderableListView); + SchemaInspector inspector = new SchemaInspector(container); return inspector; }