modify
This commit is contained in:
parent
f970e2df5f
commit
1bd1aa01a9
@ -1,17 +1,16 @@
|
|||||||
|
using System;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace AlicizaX.UI.RecyclerView
|
namespace AlicizaX.UI.RecyclerView
|
||||||
{
|
{
|
||||||
|
[Serializable]
|
||||||
public class GridLayoutManager : LayoutManager
|
public class GridLayoutManager : LayoutManager
|
||||||
{
|
{
|
||||||
private Vector2 cellSize;
|
private Vector2 cellSize;
|
||||||
|
|
||||||
|
[SerializeField] private int cellCount;
|
||||||
|
|
||||||
public GridLayoutManager()
|
public GridLayoutManager()
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public GridLayoutManager(int unit = 1)
|
|
||||||
{
|
{
|
||||||
this.unit = unit;
|
this.unit = unit;
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ public static class UXButtonHotkeyExtension
|
|||||||
{
|
{
|
||||||
if (button == null) return;
|
if (button == null) return;
|
||||||
|
|
||||||
#if INPUTSYSTEM_SUPPORT
|
|
||||||
if (button._hotKeyRefrence != null)
|
if (button._hotKeyRefrence != null)
|
||||||
{
|
{
|
||||||
UXHotkeyComponent.RegisterHotkey(
|
UXHotkeyComponent.RegisterHotkey(
|
||||||
@ -163,7 +163,7 @@ public static class UXButtonHotkeyExtension
|
|||||||
button._hotkeyPressType
|
button._hotkeyPressType
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void UnBindHotKey(this UXButton button)
|
public static void UnBindHotKey(this UXButton button)
|
||||||
|
Loading…
Reference in New Issue
Block a user