|
@@ -1,4 +1,4 @@
|
|
|
-import { _decorator, Component, Enum, Node, tween, Vec3 } from 'cc';
|
|
|
+import { _decorator, CCInteger, Component, Enum, Node, tween, Vec3 } from 'cc';
|
|
|
import { CupHeight } from '../TakeGobletGlobalInstance';
|
|
|
import { LevelAction } from '../LevelAction';
|
|
|
import { EventDispatcher } from 'db://assets/core_tgx/easy_ui_framework/EventDispatcher';
|
|
@@ -15,7 +15,7 @@ export class OriginCup extends Component {
|
|
|
@property(Node)
|
|
|
waters: Node = null!; //水节点
|
|
|
|
|
|
- @property({ type: Number, tooltip: "水层数量" })
|
|
|
+ @property({ type: CCInteger, tooltip: "水层数量" })
|
|
|
waterLayers: number = 5; // 改为可配置项
|
|
|
|
|
|
start() {
|