Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/framework/script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import { SCRIPT_INITIALIZE, SCRIPT_POST_INITIALIZE } from './constants.js';
* Below is a simple example of a script that rotates an entity every frame.
* @example
* ```javascript
* class EntityRotator extends Script {
* static scriptName = 'entityRotator';
* export class Rotator extends Script {
* static scriptName = 'rotator';
*
* update(dt) {
* this.entity.rotateLocal(0, 1, 0);
Expand Down