@dcl/playground-assets 7.22.5-24836126953.commit-ddc8da1 → 7.22.5

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.
@@ -97,6 +97,11 @@ declare module "~system/EngineApi" {
97
97
  b: number;
98
98
  a: number;
99
99
  }
100
+ /** A range of Color4 values. Randomized or lerped between start and end. */
101
+ export interface ColorRange {
102
+ start: Color4 | undefined;
103
+ end: Color4 | undefined;
104
+ }
100
105
 
101
106
  // Function declaration section
102
107
  export interface ECS6Color4 {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.22.5-24836126953.commit-ddc8da1",
4
+ "version": "7.22.5",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "types": "./index.d.ts",
37
37
  "typings": "./index.d.ts",
38
- "commit": "ddc8da1f80f3b488609d8a2a694f0c9fd5fe2c54"
38
+ "commit": "b6da827dbab8b88795119b50ab578d457e552d0c"
39
39
  }
@@ -7,7 +7,8 @@ import {
7
7
  InputAction,
8
8
  PBPointerEvents_Entry,
9
9
  PointerEvents,
10
- PointerEventType
10
+ PointerEventType,
11
+ InteractionType
11
12
  } from '@dcl/sdk/ecs'
12
13
 
13
14
  // Cube factory
@@ -29,8 +30,10 @@ createCube(15, 1, 15, [
29
30
  button: InputAction.IA_PRIMARY,
30
31
  hoverText: 'PrimaryDown',
31
32
  maxDistance: 5,
32
- showFeedback: true
33
- }
33
+ showFeedback: true,
34
+ priority: 0
35
+ },
36
+ interactionType: InteractionType.CURSOR
34
37
  }
35
38
  ])
36
39
 
@@ -41,9 +44,11 @@ createCube(13, 1, 15, [
41
44
  button: InputAction.IA_SECONDARY,
42
45
  hoverText: 'Secondary Up',
43
46
  maxDistance: 5,
44
- showFeedback: true
47
+ showFeedback: true,
48
+ priority: 0
49
+ },
50
+ interactionType: InteractionType.CURSOR
45
51
  }
46
- }
47
52
  ])
48
53
 
49
54
  createCube(11, 1, 15, [
@@ -53,7 +58,9 @@ createCube(11, 1, 15, [
53
58
  button: InputAction.IA_ANY,
54
59
  hoverText: 'Infinity Hover',
55
60
  maxDistance: 10000000,
56
- showFeedback: true
57
- }
61
+ showFeedback: true,
62
+ priority: 0
63
+ },
64
+ interactionType: InteractionType.PROXIMITY
58
65
  }
59
66
  ])