@wonderlandengine/editor-api 1.4.5 → 1.4.6-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data.d.ts +0 -1
- package/dist/data.js +0 -1
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/data.d.ts
CHANGED
package/dist/data.js
CHANGED
package/dist/index.d.ts
CHANGED
@@ -7,6 +7,10 @@ export * from './workspace.js';
|
|
7
7
|
export declare class EditorPlugin {
|
8
8
|
/** Name of the plugin */
|
9
9
|
name: string;
|
10
|
+
/**
|
11
|
+
* Called periodically to update the plugin before {@link #draw()}.
|
12
|
+
*/
|
13
|
+
update?(): void;
|
10
14
|
/**
|
11
15
|
* Called to let the plugin draw it's ui. See {@link ui}.
|
12
16
|
*/
|