반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- JavaScript
- ChatGPT
- logstash
- 구글
- Python
- mariadb
- ssh
- docker
- error
- MSSQL
- 유니티
- sample
- build
- Linux
- s3
- JS
- Kibana
- Git
- unity
- Windows
- AWS
- nodejs
- API
- Ai
- elasticsearch
- 엘라스틱서치
- 영어
- MySQL
- 설정
Archives
- Today
- Total
목록구분방법 (1)
가끔 보자, 하늘.
ui 이벤트가 일반 input 이벤트 구분하기
유니티에서 ui를 클릭 혹은 터치해도 게임 중 입력 이벤트를 처리하는 부분에서 계속 문제가 발생했다. 게임 ui를 유니티의 ui로 만들지 않았을때는 몰랐는데, 이거 어떻게 처리해야 할지 한동안 고민이 많았는데... EventSystem.current.IsPointerOverGameObject 라는 함수가 있는지 몰라서 한참 고생했네;; 아래와 같은 클래스를 하나 추가해서 처리. using UnityEngine; using UnityEngine.EventSystems; using System.Collections; public class InputEventManager : MonoBehaviour { public bool GetMouseDown(int _idx){ if (EventSystem.current..
개발 이야기/개발 및 서비스
2016. 1. 11. 14:10