일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- SVN
- postgresql
- null
- dataframe
- List
- expect
- FIND
- SSH
- if
- 쉘
- DROP
- conda
- pandas
- C++
- with
- c++11
- ubuntu
- Unity
- pi
- awk
- ngui
- python
- sqlite
- Shader
- boost
- mysql
- autovacuum
- sql
- 배열
- Eclipse
Archives
- Today
- Total
その先にあるもの…
NGUI 객체 피킹 본문
하나의 UI를 끌어서 다른 UI로 올려 놓을 때
UICamera.currentTouch.clickNotification = UICamera.ClickNotification.BasedOnDelta; Ray ray = UICamera.currentCamera.ScreenPointToRay(UICamera.currentTouch.pos); GameObject obj = GameObject.FindWithTag( "tagChrInfo" ); RaycastHit Hit; if( obj.collider.Raycast( ray, out Hit, 10 ) ) { ... }
'프로그래밍 > Unity' 카테고리의 다른 글
unity animator event (0) | 2013.12.05 |
---|---|
NGUITools.AddChild (0) | 2013.12.05 |
Prefab SetActive(false)시 스크립트 접근이 안되는 경우1 (0) | 2013.12.05 |
AssetBundle (0) | 2013.10.29 |
Object Drag & Picking (0) | 2013.06.04 |
Comments