HeavenStudioPlus/Assets/Scripts/LevelEditor/TempoFinder/TempoFinderButton.cs
Mytiaoga 614059a4d3 Updated Inputs for some minigames
First Contact & DJ School has their inputs methods updated
2022-07-08 13:27:10 +08:00

20 lines
514 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
namespace HeavenStudio.Editor
{
public class TempoFinderButton : Button, IPointerDownHandler
{
public TempoFinder tempoFinder;
public override void OnPointerDown(PointerEventData eventData)
{
if (eventData.button == PointerEventData.InputButton.Left)
{
tempoFinder.TapBPM();
}
}
}
}