Class cc.RemoveSelf
- Defined in: CCActionInstant.js
- Extends cc.ActionInstant
Constructor Attributes | Constructor Name and Description |
---|---|
cc.RemoveSelf(isNeedCleanUp)
Delete self in the next frame.
|
Method Summary
Class Detail
cc.RemoveSelf(isNeedCleanUp)
Delete self in the next frame.
// example var removeSelfAction = new cc.RemoveSelf(false);
- Parameters:
- {Boolean} isNeedCleanUp Optional, Default: true
Field Detail
Please use cc.removeSelf instead.
Create a RemoveSelf object with a flag indicate whether the target should be cleaned up while removing.
- Deprecated:
-
since v3.0
Please use cc.removeSelf instead.