技能继续重构
This commit is contained in:
@@ -98,11 +98,11 @@ export class AtkConCom extends CCComp {
|
||||
bm.moveTo(this.targetPos);
|
||||
}
|
||||
do_fixedEnd(){
|
||||
this.node.setPosition(this.targetPos.x > 360?300:this.targetPos.x,0,0)
|
||||
this.node.setPosition(this.targetPos.x > 360?300:this.targetPos.x,this.node.position.y,0)
|
||||
this.do_anim()
|
||||
}
|
||||
do_fixedStart(){
|
||||
this.node.setPosition(this.startPos.x > 360?300:this.startPos.x,0,0)
|
||||
this.node.setPosition(this.startPos.x > 360?300:this.startPos.x,this.node.position.y,0)
|
||||
this.do_anim()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user