Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
比如说我有三个按钮,按一个销毁一个,三个全都按完之后就会出现一个关闭关卡的按钮,这样要怎么写事件呢?
count这个表达式会返回对象在当前场景的剩余实例数量,假设你这三个按钮是不同对象,且销毁完之后没有同对象的按钮实例了,那就用三个比较两值(系统组件的条件),然后 按钮A对象名.count=0、按钮B对象名.count=0 且 按钮C对象名.count=0时,显示一个关闭关卡的按钮就行了
感谢大佬!这就去试试看