@combos-fun/plugin-development-tool 0.0.7 → 0.0.9
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/agent-skill.md +3 -10
- package/package.json +11 -7
package/agent-skill.md
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
# `@combos-fun/plugin-development-tool` — Agent notes
|
|
2
2
|
|
|
3
|
-
In-canvas debugging / inspection plugin. Adds a `CombosDevelopmentToolTarget`
|
|
4
|
-
Component that, when tapped, draws an outline overlay around the
|
|
5
|
-
GameObject and posts a parent-frame message identifying the selected node.
|
|
6
|
-
Used by the Combos Fun editor / inspector to wire up two-way selection
|
|
7
|
-
between the editor tree and the running game.
|
|
3
|
+
In-canvas debugging / inspection plugin. Adds a `CombosDevelopmentToolTarget` Component that, when tapped, draws an outline overlay around the GameObject and posts a parent-frame message identifying the selected node. Used by the Combos Fun editor / inspector to wire up two-way selection between the editor tree and the running game.
|
|
8
4
|
|
|
9
5
|
## When to read
|
|
10
6
|
|
|
11
|
-
Read whenever building tooling, integrating with the Combos editor, or
|
|
12
|
-
debugging which GameObject is being tapped at runtime.
|
|
7
|
+
Read whenever building tooling, integrating with the Combos editor, or debugging which GameObject is being tapped at runtime.
|
|
13
8
|
|
|
14
9
|
## Public API
|
|
15
10
|
|
|
@@ -34,9 +29,7 @@ import {
|
|
|
34
29
|
|
|
35
30
|
## Required setup
|
|
36
31
|
|
|
37
|
-
This plugin depends on `@combos-fun/plugin-renderer-event` (for taps)
|
|
38
|
-
and `@combos-fun/plugin-renderer-graphics` (for the outline). Register
|
|
39
|
-
all of them after `RendererSystem`:
|
|
32
|
+
This plugin depends on `@combos-fun/plugin-renderer-event` (for taps) and `@combos-fun/plugin-renderer-graphics` (for the outline). Register all of them after `RendererSystem`:
|
|
40
33
|
|
|
41
34
|
```ts
|
|
42
35
|
new Game({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/plugin-development-tool",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.9",
|
|
4
|
+
"description": "only useful for combos.fun preview page, no need to understand and modify",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/plugin-development-tool.esm.js",
|
|
7
7
|
"bundle": "CombosFun.plugin.developmentTool",
|
|
@@ -27,14 +27,18 @@
|
|
|
27
27
|
"types": "dist/plugin-development-tool.d.ts",
|
|
28
28
|
"keywords": [
|
|
29
29
|
"combos-fun",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
30
|
+
"devtool",
|
|
31
|
+
"inspector",
|
|
32
|
+
"selection",
|
|
33
|
+
"outline",
|
|
34
|
+
"editor",
|
|
35
|
+
"debug"
|
|
32
36
|
],
|
|
33
37
|
"author": "sun668 <q947692259@gmail.com>",
|
|
34
38
|
"dependencies": {
|
|
35
|
-
"@combos-fun/engine": "0.0.
|
|
36
|
-
"@combos-fun/plugin-renderer-
|
|
37
|
-
"@combos-fun/plugin-renderer-
|
|
39
|
+
"@combos-fun/engine": "0.0.9",
|
|
40
|
+
"@combos-fun/plugin-renderer-graphics": "0.0.9",
|
|
41
|
+
"@combos-fun/plugin-renderer-event": "0.0.9"
|
|
38
42
|
},
|
|
39
43
|
"scripts": {
|
|
40
44
|
"build": "node ../../scripts/build-package.mjs"
|