mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-31 14:08:48 +00:00
update AssetArtScanner
This commit is contained in:
@@ -6,7 +6,7 @@ namespace YooAsset.Editor
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 检视界面的UI元素容器(UIElements元素)
|
/// 检视界面的UI元素容器(UIElements元素)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public object Containner;
|
public object Containner { private set; get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 检视界面宽度
|
/// 检视界面宽度
|
||||||
@@ -22,5 +22,24 @@ namespace YooAsset.Editor
|
|||||||
/// 检视界面最大宽度
|
/// 检视界面最大宽度
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int MaxWidth = 250;
|
public int MaxWidth = 250;
|
||||||
|
|
||||||
|
public SchemaInspector(object containner)
|
||||||
|
{
|
||||||
|
Containner = containner;
|
||||||
|
}
|
||||||
|
public SchemaInspector(object containner, int width)
|
||||||
|
{
|
||||||
|
Containner = containner;
|
||||||
|
Width = width;
|
||||||
|
MinWidth = width;
|
||||||
|
MaxWidth = width;
|
||||||
|
}
|
||||||
|
public SchemaInspector(object containner, int width, int minWidth, int maxWidth)
|
||||||
|
{
|
||||||
|
Containner = containner;
|
||||||
|
Width = width;
|
||||||
|
MinWidth = minWidth;
|
||||||
|
MaxWidth = maxWidth;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user