透明小地图&列表点击切换&海拔图头像位移

This commit is contained in:
lishuo committed 2022-03-29 18:41:32 +08:00
1 parent bf48989a9c
commit 6ec4c0101b
114 files changed
+12787 -6517

No files matched your search

@@ -0,0 +1,29 @@
//MIT License
//Copyright (c) 2020 Mohammed Iqubal Hussain
//Website : Polyandcode.com
using System.Collections;
using UnityEngine;
namespace PolyAndCode.UI
{
/// <summary>
/// Absract Class for creating a Recycling system.
/// </summary>
public abstract class RecyclingSystem
{
public IRecyclableScrollRectDataSource DataSource;
protected RectTransform Viewport, Content;
protected RectTransform PrototypeCell;
protected bool IsGrid;
protected float MinPoolCoverage = 1.5f; // The recyclable pool must cover (viewPort * _poolCoverage) area.
protected int MinPoolSize = 10; // Cell pool must have a min size
protected float RecyclingThreshold = .2f; //Threshold for recycling above and below viewport
public abstract IEnumerator InitCoroutine(System.Action onInitialized = null);
public abstract Vector2 OnValueChangedListener(Vector2 direction);
}
}