修改了 spine 为缓存模式
This commit is contained in:
@@ -196,6 +196,7 @@ export class SkillCom extends CCComp {
|
||||
let target = oCol.getComponent(HeroViewComp)
|
||||
if(oCol.group!=this.group){
|
||||
if(target == null) return;
|
||||
console.log("[SkillCom]:onBeginContact targetPos||skillPos",target.node.position,this.node.position)
|
||||
this.single_damage(target)
|
||||
// this.ent.destroy()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user