this.node.getComponent(xf.engine.Collider2D)!.sensor = true;
this.node.getComponent(xf.engine.Collider2D)!.apply();
节点上的sensor显示是true 但实际还是有碰撞效果,是否设置实际没生效
this.node.getComponent(xf.engine.Collider2D)!.sensor = true;
this.node.getComponent(xf.engine.Collider2D)!.apply();
节点上的sensor显示是true 但实际还是有碰撞效果,是否设置实际没生效