技能动画 继续完善
This commit is contained in:
@@ -14,7 +14,7 @@ export class timedCom extends Component {
|
||||
}
|
||||
|
||||
update(deltaTime: number) {
|
||||
this.time = this.time - deltaTime;
|
||||
this.time -= deltaTime;
|
||||
if(this.time <= 0)
|
||||
{
|
||||
this.node.destroy()
|
||||
|
||||
Reference in New Issue
Block a user