修复box因缺少初始化报错问题

This commit is contained in:
yhh
2020-06-16 16:35:17 +08:00
parent 7f5b78f340
commit 447ea4efe4
18 changed files with 272 additions and 910 deletions

View File

@@ -21,11 +21,11 @@ class SpawnComponent extends Component implements ITriggerListener {
}
public onTriggerEnter(other: Collider, local: Collider){
console.log("enter collider", other, local);
console.log("enter collider");
}
public onTriggerExit(other: Collider, local: Collider){
console.log("exit collider", other, local);
console.log("exit collider");
}
}