From 98e19baebd14f7ad0f18915463cd258e5b395ac7 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 19:34:41 +0800 Subject: [PATCH] Update TextureSchema.cs --- .../Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs index 0aa48697..b673c2d6 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs @@ -184,10 +184,12 @@ public class TextureSchema : ScannerSchema container.Add(maxHeightField); // 创建测试列表 +#if UNITY_2021_3_OR_NEWER ReorderableListView reorderableListView = new ReorderableListView(); reorderableListView.SourceData = TestStringValues; reorderableListView.HeaderName = "测试列表"; container.Add(reorderableListView); +#endif SchemaInspector inspector = new SchemaInspector(container); return inspector;