@wonderlandengine/editor-api 1.4.6-rc.1 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/package.json +1 -1
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wonderlandengine/editor-api",
3
- "version": "1.4.6-rc.1",
3
+ "version": "1.4.6-rc.2",
4
4
  "description": "Wonderland Engine's Editor API for plugins - very experimental.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",