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).
求大佬解惑,是否是友军是由变量"阵营"数值是否一至决定的,
实现方法很多,你直接这样问太笼统了。 给“范围”加一个透明的圆形碰撞区,与这个范围重叠的友军,在遍历循环等方式找出生命最低的,去恢复生命
应该可以整一个贴图画范围,然后检测碰撞,完事给每一个检测到的实例回血
好的,谢谢大佬解答