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).
如题。有没有简单的方法实现
@蒜苗 给同类组一个实例变量(例如就叫"掉落物"),然后它下属每个对象就会多出一个同名实例变量,在对象库里把这些对象分别设置不同的初始值,初始值为对应对象的掉落物对象名,然后事件只需要写一个同类组销毁时,按名称创建 同类组.掉落物 的实例就行了,基础的思路差不多是这样
好使~ 赞~