Skip to content

Commit

Permalink
Update examples/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Will Eastcott <[email protected]>
  • Loading branch information
kpal81xd and willeastcott committed May 8, 2024
1 parent 73f1585 commit 51f6f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export { app };

This is the only file that's required to run an example. The code defined in this function is executed each time the example play button is pressed. It takes the example's canvas element from the DOM and usually begins by creating a new PlayCanvas `Application` or `AppBase` using that canvas.

Examples can also contains comments which allow you to define the default configuration for your examples as well as overrides to particular settings such as `deviceType`. Check the possible values to set in `ExampleConfig` in `scripts/utils.mjs` file for the full list.
Examples can also contain comments which allow you to define the default configuration for your examples as well as overrides to particular settings such as `deviceType`. Check the possible values to set in `ExampleConfig` in `scripts/utils.mjs` file for the full list.

```js
// @config DESCRIPTION This is a description
Expand Down

0 comments on commit 51f6f1b

Please sign in to comment.