mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
18 lines
423 B
C#
18 lines
423 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using TMPro;
|
||
|
using UnityEngine.EventSystems;
|
||
|
|
||
|
namespace HeavenStudio.Common
|
||
|
{
|
||
|
public class LeftClickTMP_Dropdown : TMP_Dropdown
|
||
|
{
|
||
|
public override void OnPointerClick(PointerEventData eventData)
|
||
|
{
|
||
|
if (eventData.button == PointerEventData.InputButton.Right) return;
|
||
|
base.OnPointerClick(eventData);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|