成功检测和回调设置成public

This commit is contained in:
ruanwujing 2024-01-29 19:56:56 +08:00
parent 476a551dc9
commit b55ef93d36

View File

@ -63,8 +63,8 @@ export class GPDrag extends Component {
private zOrder:number private zOrder:number
private dragStartPos:Vec2 = new Vec2(0, 0) private dragStartPos:Vec2 = new Vec2(0, 0)
private dragOffset:Vec2 = new Vec2(0, 0) private dragOffset:Vec2 = new Vec2(0, 0)
private succeedCheck:Function = null; public succeedCheck:Function = null;
private succeedCallback:Function = null; public succeedCallback:Function = null;
private backTween:Tween<Node> private backTween:Tween<Node>