using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace Fateforge { [RequireComponent(typeof(Button))] public sealed class LeverAction : MonoBehaviour,IPointerDownHandler,IPointerUpHandler,IBeginDragHandler,IDragHandler,IEndDragHandler { public Button collect; Vector2 start; bool dragging,triggered; int suppressClickFrame=-1; void Awake(){GetComponent