keytops-game-framework 1.0.16 → 1.0.17

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.
@@ -50,17 +50,17 @@ export interface IScene extends IView {
50
50
  * 显示正常提示
51
51
  * @param tipContent 提示文本内容
52
52
  */
53
- tips(message: string): void;
53
+ tips(message: string, stay?: number): void;
54
54
  /**
55
55
  * 显示警告提示
56
56
  * @param tipContent 警告文本内容
57
57
  */
58
- warn(message: string): void;
58
+ warn(message: string, stay?: number): void;
59
59
  /**
60
60
  * 显示错误提示
61
61
  * @param tipContent 错误文本内容
62
62
  */
63
- error(message: string): void;
63
+ error(message: string, stay?: number): void;
64
64
  /**
65
65
  * 添加视图到场景最上层
66
66
  * @param view
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keytops-game-framework",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "cocos creator game framework library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",