dd
This commit is contained in:
@@ -20,6 +20,7 @@ export class SkillCom extends CCComp {
|
||||
atk:number = 10;
|
||||
is_destroy:boolean = false;
|
||||
start() {
|
||||
this.node.active=true
|
||||
let collider = this.getComponent(Collider2D);
|
||||
if (collider) {
|
||||
// collider.on(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this);
|
||||
|
||||
Reference in New Issue
Block a user