mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-22 17:45:16 +00:00
cbb912772f
* * in name when changing value * Popup UI and quit basics * Quit button finalized, i think * fix * fixed * right click dropdown prefab * tryna getit to work * woohoo it works * value reset support for text areas * Color reset support * Enums and numbers supported * catchy tune fix
17 lines
423 B
C#
17 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);
|
|
}
|
|
}
|
|
}
|
|
|