refactor: 移除调试日志并统一使用日志工具
- 删除多个文件中的 console.log/console.warn/console.error 调试输出 - 将日志输出统一替换为 mLogger 工具,支持调试模式控制 - 清理注释掉的调试代码和空方法体
This commit is contained in:
@@ -28,7 +28,6 @@ export default class HeroAnmComp extends Component{
|
||||
this._hasStop = true;
|
||||
}
|
||||
onAnimationFinished(type:Animation.EventType, state:AnimationState){
|
||||
// console.log("[HeroAnmComp]: 动画播放完毕",state.name)
|
||||
if(state.name!="idle"&&state.name!="move"&&state.name!="dead"&&state.name!="stun"){
|
||||
this.anmcon.play(this.default_anim)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user