I ported one of the control from assist CCControlExtencion( that is in the original source code for iOS. This switch. However, it does not have any nice animation as the class is not yet implemented CCActionTwin, but otherwise - you can use!:slight_smile: (4.5 KB)



I have tested it. It seems that the control cannot be affected by setting anchor point.


Hмммм…. Well, in the original class for Object-C for CCCSwitchControl there is no overridden method setting anchor point . I just ported the class. Sorry! You can add it without any problems on their own;)


Fix some bugs