change object to Ref
change label define as cocos2d-x 3.x standard define