Skip to content

Commit deb3af4

Browse files
author
gong@UbuntuWSLProArt
committed
fix typos
1 parent 971d8da commit deb3af4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

documentation/docs/api/take-screenshot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to take screenshot of the Unity WebGL canvas, you'll need to enable pre
2222

2323
```jsx showLineNumbers title="Example: Preserving the Drawing Buffer"
2424
const unityContext = useUnityContext({
25-
webGLContextAttributes: {
25+
webglContextAttributes: {
2626
preserveDrawingBuffer: true,
2727
},
2828
});
@@ -60,7 +60,7 @@ function App() {
6060
dataUrl: "build/myunityapp.data",
6161
frameworkUrl: "build/myunityapp.framework.js",
6262
codeUrl: "build/myunityapp.wasm",
63-
webGLContextAttributes: {
63+
webglContextAttributes: {
6464
preserveDrawingBuffer: true,
6565
},
6666
});

documentation/docs/api/webgl-rendering-context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function App() {
8585
dataUrl: "build/myunityapp.data",
8686
frameworkUrl: "build/myunityapp.framework.js",
8787
codeUrl: "build/myunityapp.wasm",
88-
webGLContextAttributes: {
88+
webglContextAttributes: {
8989
alpha: true,
9090
antialias: true,
9191
depth: true,

documentation/versioned_docs/version-8.x.x/api/webgl-rendering-context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const unityContext = new UnityContext({
3232
dataUrl: "build/myunityapp.data",
3333
frameworkUrl: "build/myunityapp.framework.js",
3434
codeUrl: "build/myunityapp.wasm",
35-
webGLContextAttributes: {
35+
webglContextAttributes: {
3636
alpha: true,
3737
antialias: true,
3838
depth: true,

0 commit comments

Comments
 (0)