상세 컨텐츠

본문 제목

키입력

HEAP_Project/Unity3D

by hwano 2014. 5. 30. 17:15

본문

 

Input.GetKey( KeyCode.UpArrow )

Input.GetKeyDown( KeyCode.UpArrow )

Input.GetKeyUp( KeyCode.UpArrow )

 

 

 

GetKey는 누르는 동안 계속작동한다.

GetKeyDown은 눌렀을때

GetKeyUp은 눌렀다가 땠을때만 작동한다.

 

 

관련글 더보기