diff --git a/cocos/2d/CCComponent.h b/cocos/2d/CCComponent.h index 226d410ef1..a6151f337a 100644 --- a/cocos/2d/CCComponent.h +++ b/cocos/2d/CCComponent.h @@ -38,8 +38,8 @@ class Node; enum { kComponentOnEnter, kComponentOnExit, - kComponentOnAdd, - kComponentOnRemove, + kComponentOnAdd, + kComponentOnRemove, kComponentOnUpdate };