mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-31 05:58:47 +00:00
update UIElements
This commit is contained in:
@@ -9,12 +9,15 @@ namespace YooAsset.Editor
|
|||||||
{
|
{
|
||||||
public class ResizeHandle : VisualElement
|
public class ResizeHandle : VisualElement
|
||||||
{
|
{
|
||||||
/// <summary>
|
#if UNITY_6000_0_OR_NEWER
|
||||||
/// Instantiates a TableView using data from a UXML file.
|
public new class UxmlFactory : UxmlElementAttribute
|
||||||
/// </summary>
|
{
|
||||||
|
}
|
||||||
|
#else
|
||||||
public new class UxmlFactory : UxmlFactory<ResizeHandle, UxmlTraits>
|
public new class UxmlFactory : UxmlFactory<ResizeHandle, UxmlTraits>
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
private bool _isResizing = false;
|
private bool _isResizing = false;
|
||||||
private float _initialWidth;
|
private float _initialWidth;
|
||||||
|
|||||||
@@ -15,12 +15,15 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class TableView : VisualElement
|
public class TableView : VisualElement
|
||||||
{
|
{
|
||||||
/// <summary>
|
#if UNITY_6000_0_OR_NEWER
|
||||||
/// Instantiates a TableView using data from a UXML file.
|
public new class UxmlFactory : UxmlElementAttribute
|
||||||
/// </summary>
|
{
|
||||||
|
}
|
||||||
|
#else
|
||||||
public new class UxmlFactory : UxmlFactory<TableView, UxmlTraits>
|
public new class UxmlFactory : UxmlFactory<TableView, UxmlTraits>
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
private readonly Toolbar _toolbar;
|
private readonly Toolbar _toolbar;
|
||||||
private readonly ListView _listView;
|
private readonly ListView _listView;
|
||||||
|
|||||||
Reference in New Issue
Block a user