Class cc.RemoveSelf

Class Summary
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

<static> {cc.RemoveSelf} cc.RemoveSelf.create
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.