using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; namespace TextureCombiner { [RequireComponent(typeof(Button))] public class ButtonHandlerWeb : MonoBehaviour, IPointerDownHandler { public enum ButtonType { Load, Save } #pragma warning disable CS0414 [SerializeField] private ButtonType m_buttonType = ButtonType.Load; #pragma warning restore CS0414 #if UNITY_WEBGL private TextureCombiner m_textureCombiner = null; private Button m_button = null; private void Awake() { m_textureCombiner = FindObjectOfType(); m_button = this.GetComponent