37 lines
962 B
C#
37 lines
962 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UIElements;
|
|
using UnityEngine.AddressableAssets;
|
|
using UnityEngine.ResourceManagement.AsyncOperations;
|
|
using System.Threading.Tasks;
|
|
using UnityEditor;
|
|
using Unity.Rendering;
|
|
using System;
|
|
using Unity.Multiplayer.Center.Common;
|
|
using System.Collections;
|
|
|
|
// https://docs.unity3d.com/6000.1/Documentation/ScriptReference/UIElements.ListView.html
|
|
|
|
namespace UnityEngine.UIElements
|
|
{
|
|
[UxmlElement]
|
|
public partial class RecycleView : ListView
|
|
{
|
|
[UxmlAttribute]
|
|
private int bufferedItems = 2;
|
|
|
|
public RecycleView() : base()
|
|
{
|
|
Initialize();
|
|
}
|
|
|
|
public RecycleView(IList itemsSource, int itemHeight, Func<VisualElement> makeItem, Action<VisualElement, int> bindItem) : base(itemsSource, itemHeight, makeItem, bindItem)
|
|
{
|
|
Initialize();
|
|
}
|
|
|
|
public void Initialize()
|
|
{
|
|
}
|
|
}
|
|
}
|