@cc-component/cc-guide 1.2.1 → 1.2.3

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.
@@ -336,7 +336,7 @@ export class GuideCenter {
336
336
 
337
337
  LoadSprite(sp: Sprite, param: string, callback?: () => void) {
338
338
  const path = param + '/spriteFrame'
339
- const bundleName = this.param.bundleName
339
+ const bundleName = this.param.bundleNameSprite
340
340
  const bundle = assetManager.getBundle(bundleName)
341
341
  const sprite = bundle.get(path, SpriteFrame)
342
342
  if (sprite) {
@@ -11,8 +11,10 @@ export enum GuideCommon {
11
11
 
12
12
 
13
13
  export interface IGuideData {
14
- /**资源bundle-引导 */
14
+ /**资源bundle-预制体 */
15
15
  bundleName: string;
16
+ /**资源bundle-图片 */
17
+ bundleNameSprite: string;
16
18
  /**预制体根路径 */
17
19
  prefabPath: string;
18
20
  /**图片根路径 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-guide",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",