From 966c8f2efa2d6dc8da748bad3b13bd644f8538ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=86=A0=E5=B3=B0?= Date: Tue, 18 Feb 2025 18:41:05 +0800 Subject: [PATCH] update space shooter --- .../Space Shooter/GameScript/Editor/TextureSchema.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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; }