mirror of https://github.com/tuyoogame/YooAsset
update UIElements
parent
31a0017351
commit
e031498d5b
|
@ -9,12 +9,15 @@ namespace YooAsset.Editor
|
|||
{
|
||||
public class ResizeHandle : VisualElement
|
||||
{
|
||||
/// <summary>
|
||||
/// Instantiates a TableView using data from a UXML file.
|
||||
/// </summary>
|
||||
#if UNITY_6000_0_OR_NEWER
|
||||
public new class UxmlFactory : UxmlElementAttribute
|
||||
{
|
||||
}
|
||||
#else
|
||||
public new class UxmlFactory : UxmlFactory<ResizeHandle, UxmlTraits>
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
private bool _isResizing = false;
|
||||
private float _initialWidth;
|
||||
|
|
|
@ -15,12 +15,15 @@ namespace YooAsset.Editor
|
|||
/// </summary>
|
||||
public class TableView : VisualElement
|
||||
{
|
||||
/// <summary>
|
||||
/// Instantiates a TableView using data from a UXML file.
|
||||
/// </summary>
|
||||
#if UNITY_6000_0_OR_NEWER
|
||||
public new class UxmlFactory : UxmlElementAttribute
|
||||
{
|
||||
}
|
||||
#else
|
||||
public new class UxmlFactory : UxmlFactory<TableView, UxmlTraits>
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
private readonly Toolbar _toolbar;
|
||||
private readonly ListView _listView;
|
||||
|
|
Loading…
Reference in New Issue