@cc-component/cc-guide 1.0.3 → 1.0.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.
@@ -29,11 +29,11 @@ export class GuideModelComp {
29
29
  guides: Map<number, Node> = new Map();
30
30
 
31
31
  /** 资源文件夹 */
32
- res_dir = "interface/guide";
32
+ res_dir = "prefab";
33
33
  /** 遮罩预制资源 */
34
- res_mask = "interface/guide/mask";
34
+ res_mask = "prefab/mask";
35
35
  /** 提示预制资源 */
36
- res_prompt = "interface/guide/prompt";
36
+ res_prompt = "prefab/prompt";
37
37
 
38
38
  current_bg = ''
39
39
  /** 当前准备引导的节点 */
@@ -10,10 +10,11 @@ import { Toggle } from "cc";
10
10
  import { CCInteger, Component, _decorator } from "cc";
11
11
  import { Log } from "../../common/Log";
12
12
 
13
- const { ccclass, property } = _decorator;
13
+ const { ccclass, property, menu } = _decorator;
14
14
 
15
15
  /** 新手引导数据(绑定到引导节点上) */
16
16
  @ccclass('GuideViewItem')
17
+ @menu("引导组件/GuideViewItem")
17
18
  export class GuideViewItem extends Component {
18
19
  @property({
19
20
  type: [CCInteger],