목록전체 글 (167)
GaGe
function test2(val){ var answer = ""; switch(val){ case 1: case 2: case 3: answer = "Low"; break; case 4: case 5: case 6: answer = "Mid"; break; case 7: case 8: case 9: answer = "High"; break; } }
3 == 3 //true 3 == '3' //true //type conversion 가능 3 === 3 //true 3 === '3' //false //type conversion 불가능 function test(){ if(10 != '10') console.log("false"); else console.log("true"); } test(); //true
❗ Unable to start Oculus XR Plugin. ❗ Failed to load display subsystem. ❗ Failed to lead input subsystem. 유니티로 VR을 할 때 해당 에러가 세 개가 셋트로 뜬다면 VR기기가 컴퓨터와 연결이 끊겨서 그런 것이다. 에어링크 혹은 케이블을 확인해보자.
fatal: Unable to create 'C:/~~~/~~~~/~~~~/~~~~~/.git/index.lock': File exists. Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue. 해당 에러도 초보자들에겐 당황할 수 있지만 매우 자주 보는 에러이다. 이는 ..
1. XR Rig란? 2021.09.29 - [Unity] - [Unity] 오큘러스 퀘스트2 VR 카메라 셋팅하기 (OVRcamreaRig vs XR Rig), VR유니티 개발 초기 설정 [Unity] 오큘러스 퀘스트2 VR 카메라 셋팅하기 (OVRcamreaRig vs XR Rig), VR유니티 개발 초기 설정 0. 왜 이 글을 쓰게 되었나? 더보기 VR의 카메라 및 컨트롤러 set은 OVRCameraRig와 XR Rig 가 있다는 것을 알게 되었는데, 아무리 입력을 받으려 해도 되지 않았고, 두 Rig는 입력을 받는 스크립트 코드 mumumi.tistory.com 2. XR Interaction Toolkit과 XR Rig로 퀘스트 입력 받는 법 CommonUsages.triggerButton Co..