Cocos2D: Get layer's position in scene from another class
问题 I'm trying to retrieve the current position of the layer added as a child in a scene while a scene transition is occurring. The transition is an edited Cocos2D transition that slides the layer off the screen while a new one appears. I created my own implementation inside CCActionEase with an update method: #import "JoinedMapsScene.h" #import "JoinedMapsLayer.h" @implementation CCEaseInWithPercentMult -(void) update: (ccTime) t { [other update: powf(t,rate)]; CCScene * scene = [[CCDirector