Unity3D/Script
마우스 휠 스크롤 확인
blueasa
2013. 1. 31. 11:56
1 if(Input.GetAxis("Mouse ScrollWheel") < 0) 2 { 3 // Zoom In 4 } 5 6 if(Input.GetAxis("Mouse ScrollWheel") > 0) 7 { 8 // Zoom Out 9 }
반응형