@galacean/engine-core 1.2.0-alpha.5 → 1.2.0-alpha.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-core",
3
- "version": "1.2.0-alpha.5",
3
+ "version": "1.2.0-alpha.8",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -15,10 +15,10 @@
15
15
  "types/**/*"
16
16
  ],
17
17
  "dependencies": {
18
- "@galacean/engine-math": "1.2.0-alpha.5"
18
+ "@galacean/engine-math": "1.2.0-alpha.8"
19
19
  },
20
20
  "devDependencies": {
21
- "@galacean/engine-design": "1.2.0-alpha.5"
21
+ "@galacean/engine-design": "1.2.0-alpha.8"
22
22
  },
23
23
  "scripts": {
24
24
  "b:types": "tsc"
package/types/Canvas.d.ts CHANGED
@@ -14,5 +14,6 @@ export declare abstract class Canvas {
14
14
  */
15
15
  get height(): number;
16
16
  set height(value: number);
17
- protected abstract _onSizeChanged(width: number, height: number): void;
17
+ protected abstract _onWidthChanged(value: number): void;
18
+ protected abstract _onHeightChange(value: number): void;
18
19
  }
@@ -6,7 +6,7 @@ export declare abstract class BaseShape {
6
6
  /** The type of shape to emit particles from. */
7
7
  abstract readonly shapeType: ParticleShapeType;
8
8
  /** Specifies whether the ShapeModule is enabled or disabled. */
9
- enable: boolean;
9
+ enabled: boolean;
10
10
  /** Randomizes the starting direction of particles. */
11
11
  randomDirectionAmount: number;
12
12
  }