diff --git a/assets/scripts/components/GPDrag.ts b/assets/scripts/components/GPDrag.ts index cf85bcd..15f6be2 100644 --- a/assets/scripts/components/GPDrag.ts +++ b/assets/scripts/components/GPDrag.ts @@ -63,8 +63,8 @@ export class GPDrag extends Component { private zOrder:number private dragStartPos:Vec2 = new Vec2(0, 0) private dragOffset:Vec2 = new Vec2(0, 0) - private succeedCheck:Function = null; - private succeedCallback:Function = null; + public succeedCheck:Function = null; + public succeedCallback:Function = null; private backTween:Tween