이 글의 성격은 무엇인가요?
질문 / 문제 해결
내용을 설명해주세요
src/UnityCanvas.tsx:122:11 - error TS6133: ‘sendMessage’ is declared but its value is never read.
122 const sendMessage = (gameObject: string, method: string, value?: string | number | boolean) => {
이런 식으로 에러가 나는데 혹시 해결 방법 아시는 분 계실까요?
UnityCanvas.tsx는 가이드에 있는 내용 그대로 복사해와서
basePath = “/unity”,
loaderFile = “Build.loader.js”,
fileBasename = “Build”,
이 부분만 수정했습니다.