动画重做,需要修改
This commit is contained in:
@@ -271,11 +271,11 @@ export class HeroViewComp extends CCComp {
|
||||
this.status=type
|
||||
if(type == "idle"){
|
||||
this.as.idle()
|
||||
this.as.change_default("idle")
|
||||
// this.as.change_default("idle")
|
||||
}
|
||||
if(type == "move"){
|
||||
this.as.move()
|
||||
this.as.change_default("move")
|
||||
// this.as.change_default("move")
|
||||
}
|
||||
}
|
||||
move(dt: number){
|
||||
|
||||
Reference in New Issue
Block a user