This commit is contained in:
陈思海 2025-08-15 13:55:42 +08:00
parent f970e2df5f
commit 1bd1aa01a9
2 changed files with 6 additions and 7 deletions

View File

@ -1,17 +1,16 @@
using System;
using UnityEngine;
namespace AlicizaX.UI.RecyclerView
{
[Serializable]
public class GridLayoutManager : LayoutManager
{
private Vector2 cellSize;
[SerializeField] private int cellCount;
public GridLayoutManager()
{
}
public GridLayoutManager(int unit = 1)
{
this.unit = unit;
}

View File

@ -154,7 +154,7 @@ public static class UXButtonHotkeyExtension
{
if (button == null) return;
#if INPUTSYSTEM_SUPPORT
if (button._hotKeyRefrence != null)
{
UXHotkeyComponent.RegisterHotkey(
@ -163,7 +163,7 @@ public static class UXButtonHotkeyExtension
button._hotkeyPressType
);
}
#endif
}
public static void UnBindHotKey(this UXButton button)