Raycaster로 버튼 누르기
2
https://answers.unity.com/questions/1526663/detect-click-on-canvas.html using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class FakeTouch : MonoBehaviour { // Normal raycasts do not work on UI elements, they require a special kind GraphicRaycaster raycaster; void Awake() { // Get both of the components we need to do this this.raycas..