UnityScripterAI
Discord ↗
Link Copied to Clipboard
×
"tap area of game"
public class TapArea : MonoBehaviour, IPointerDownHandler { public void OnPointerDown(PointerEventData eventData) { GameManager.Instance.CollectTap(eventData.position,transform); } }