inputMethod - sunbang123/study_report GitHub Wiki
Input λ©μλ
- GetKeyDown(KeyCode): νΉμ ν€κ° λλ¦° μκ° κ°μ§
- GetKey(KeyCode): νΉμ ν€κ° λλ¦° μνλ₯Ό κ³μ κ°μ§
- GetKeyUp(KeyCode): νΉμ ν€κ° λλ¦° ν μμ λ μκ° κ°μ§
- GetMouseButton(buttonIndex): νΉμ λ§μ°μ€ λ²νΌμ΄ λλ¦° μνλ₯Ό κ°μ§
- GetMouseButtonDown(buttonIndex): λ§μ°μ€ λ²νΌμ΄ λλ¦° μκ° κ°μ§
- GetMouseButtonUp(buttonIndex): λ§μ°μ€ λ²νΌμμ μμ λ μκ° κ°μ§
- Input.mousePosition: λ§μ°μ€μ νμ¬ μμΉλ₯Ό νλ©΄ μ’νλ‘ λ°ν
- Input.touchCount: νμ¬ νμ±νλ ν°μΉ μλ₯Ό λ°ν
- Input.GetTouch(index): ν°μΉ μ΄λ²€νΈ μΈλΆ μ 보 μ 곡(λͺ¨λ°μΌκΈ°κΈ°μμ μ¬μ©)
buttonIndex 0(μ’ν΄λ¦) 1(μ°ν΄λ¦) 2(κ°μ΄λ°ν ν΄λ¦)