|
@@ -1158,6 +1158,7 @@ namespace GFGGame
|
|
|
if (listItem.target.data == null)
|
|
|
{
|
|
|
LongPressGesture longPressGesture = new LongPressGesture(listItem.target);
|
|
|
+ longPressGesture.trigger = GameConfig.LongPressGestureTrigger;
|
|
|
longPressGesture.once = true;
|
|
|
longPressGesture.onAction.Add(OnLongPress);
|
|
|
_listLongPress.Add(longPressGesture);
|
|
@@ -1183,6 +1184,7 @@ namespace GFGGame
|
|
|
if (listItem.target.data == null)
|
|
|
{
|
|
|
LongPressGesture longPressGesture = new LongPressGesture(listItem.target);
|
|
|
+ longPressGesture.trigger = GameConfig.LongPressGestureTrigger;
|
|
|
longPressGesture.once = true;
|
|
|
longPressGesture.onAction.Add(OnLongPress);
|
|
|
_listLongPress.Add(longPressGesture);
|