이 섹션에서는 WebGL을 사용하여 앱을 빌드하는 데 필요한 플랫폼 지원 및 기타 유용한 기술 정보에 대한 개요를 제공합니다.
대부분 인기있는 데스크톱 브라우저 버전은 Unity WegGL 콘텐츠를 지원하지만 서로 다른 브라우저는 다른 수준의 지원을 제공합니다. 예를 들어 Unity WebGL은 모바일 디바이스를 지원하지 않습니다.
WebGL 빌드의 아래에 나온 기능은 플랫폼의 한계로 인해 WebGL 빌드에 사용할 수 없거나 제한이 있습니다.
Visual Studio에서 WebGL 빌드 디버깅.WebGL 빌드 디버그 및 문제 해결을 참조하십시오.
브라우저의 파일 시스템에 대한 액세스가 제한되어 있기 때문에 WebGL 빌드는 Unity 캐시 및 캐싱 스크립팅 API를 지원하지 않습니다.에셋 데이터 및 에셋 번들에 대한 네트워크 요청은 대신 브라우저 캐시에 캐싱됩니다.WebGL의 캐시 동작을 참조하십시오.
JavaScript에서 스레딩이 지원되지 않기 때문에 스레드는 지원되지 않습니다.Unity에서 성능을 높이기 위해 스레드를 내부적으로 사용하는 경우와 스크립트 코드 및 관리 dll에서 스레드를 사용하는 경우 모두 스레딩이 지원되지 않습니다.기본적으로 System.Threading
네임스페이스 안에 있는 것은 모두 지원되지 않습니다.
보안 문제로 인해 브라우저에서는 네트워킹을 위한 IP 소켓의 직접 액세스를 허용하지 않습니다.WebGL 네트워킹을 참조하십시오.
WebGL 그래픽스 API에 대한 제한 사항으로 OpenGL ES 그래픽스 라이브러리의 기능을 기반으로 합니다. WebGL 그래픽스를 참조하십시오.
WebGL 빌드에서는 Web Audio API 기반 오디오용 커스텀 백엔드를 사용하지만, 기본 오디오 기능만 지원됩니다.다음을 참고하시기 바랍니다.WebGL에서 오디오 사용
WebGL은 AOT 플랫폼이므로 System.Reflection.Emit
를 사용하여 코드를 동적으로 생성할 수 없습니다. 다른 모든 IL2CPP 플랫폼, iOS, 그리고 대부분의 콘솔도 마찬가지입니다.
복사 및 붙여넣기는 Unity UI 안에서만 작동합니다.시스템 클립보드에서 복사하여 붙여넣을 수 없습니다. 즉, 외부 애플리케이션에 복사하거나 붙여넣을 수 없습니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.