editor部分脚本设为私有,避免污染补全上下文。

添加按钮的重写结构
This commit is contained in:
2026-04-21 14:28:37 +08:00
parent eb7bdfccc3
commit 2c5bee8677
12 changed files with 291 additions and 8 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ using Object = UnityEngine.Object;
namespace XericUIEditor.Core.Vessel
{
[CustomPropertyDrawer(typeof(ObjectVessel<,>))]
public class ObjectVessel2Property : ObjectVesselPropertyBase
internal class ObjectVessel2Property : ObjectVesselPropertyBase
{
private Type property0Type = typeof(Object);
private Type property1Type = typeof(Object);
+1 -1
View File
@@ -8,7 +8,7 @@ using Object = UnityEngine.Object;
namespace XericUIEditor.Core.Vessel
{
[CustomPropertyDrawer(typeof(ObjectVessel<,,>))]
public class ObjectVessel3Property : ObjectVesselPropertyBase
internal class ObjectVessel3Property : ObjectVesselPropertyBase
{
private Type property0Type = typeof(Object);
private Type property1Type = typeof(Object);
+1 -1
View File
@@ -7,7 +7,7 @@ using Object = UnityEngine.Object;
namespace XericUIEditor.Core.Vessel
{
[CustomPropertyDrawer(typeof(ObjectVessel<>))]
public class ObjectVesselProperty : ObjectVesselPropertyBase
internal class ObjectVesselProperty : ObjectVesselPropertyBase
{
private Type property0Type = typeof(Object);
private string originTooltip = null;
@@ -5,7 +5,7 @@ using XericUI.Core.Vessel;
namespace XericUIEditor.Core.Vessel
{
public class ObjectVesselPropertyBase : PropertyDrawer
internal class ObjectVesselPropertyBase : PropertyDrawer
{
/// <summary>
/// 递归获取实际的泛型类型(处理嵌套情况)