editor部分脚本设为私有,避免污染补全上下文。
添加按钮的重写结构
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
/// 递归获取实际的泛型类型(处理嵌套情况)
|
||||
|
||||
Reference in New Issue
Block a user