mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-07 01:01:09 +08:00
GameComponent.setButton自动绑定事件,没找到对应事件方法时,只提示警告
This commit is contained in:
@@ -353,7 +353,7 @@ export class GameComponent extends Component {
|
||||
b.clickEvents.push(event);
|
||||
}
|
||||
else
|
||||
console.error(`名为【${node.name}】的按钮事件方法不存在`);
|
||||
console.warn(`名为【${node.name}】的按钮事件方法不存在`);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user