Skip to content

Commit

Permalink
移除collider的enable属性
Browse files Browse the repository at this point in the history
  • Loading branch information
esengine committed Jun 22, 2021
1 parent e5dfb20 commit 96a41eb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion source/bin/framework.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,6 @@ declare module es {
}
declare module es {
abstract class Collider extends Component {
protected _isEnabled: boolean;
/**
* 对撞机的基本形状
*/
Expand Down
1 change: 0 additions & 1 deletion source/bin/framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -3194,7 +3194,6 @@ var es;
__extends(Collider, _super);
function Collider() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this._isEnabled = true;
/**
* 如果这个碰撞器是一个触发器,它将不会引起碰撞,但它仍然会触发事件
*/
Expand Down
2 changes: 1 addition & 1 deletion source/bin/framework.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion source/src/ECS/Components/Physics/Colliders/Collider.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module es {
export abstract class Collider extends Component {
protected _isEnabled: boolean = true;
/**
* 对撞机的基本形状
*/
Expand Down

0 comments on commit 96a41eb

Please sign in to comment.