Reset Event Property Value + Right Click Dropdown API + Confirm Quit (#563)

* * 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
This commit is contained in:
Rapandrasmus
2023-10-14 03:43:44 +02:00
committed by GitHub
parent 0d35d4325e
commit 8903ffec60
17 changed files with 2019 additions and 87 deletions

View File

@ -0,0 +1,17 @@
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);
}
}
}