HELP
개발 FAQ
Vector3 연산자를 사용할 때 빨간 에러 줄이 나타나요
4 분
vscode 편집기로 zepeto 스크립트를 편집할 때, vector3 작업이 오류로 표시됩니다 이 오류는 스크립트 편집기에서만 표시되며, 실제 빌드 및 실행에는 문제가 없습니다 vscode에서 빨간 오류 선이 나타나지 않도록 하려면 다음 방법을 사용할 수 있습니다 vscode에서 typescript 버전 변경 다음 가이드를 사용하여 typescript 버전을 작업 공간 버전으로 변경하십시오 📘 다음 가이드를 참조하십시오 docid\ c0bepqz9xz8khwzthsdtd 연산자 메서드 사용 벡터3 연산 대신 다음과 같은 메서드를 사용하세요 vector3 op addition 다음 코드는 두 개의 vector3 값을 더하는 예입니다 vector3 op addition vector3 연산자 const v1 = new vector3(0,1,0); const v2 = new vector3(0,1,1); // 결과 (0,2,1) vector3 op addition(v1, v2); 사용 가능한 벡터 연산자는 다음과 같습니다 true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type 👍 팁 vector2도 동일한 연산자 메서드를 가지고 있습니다

