Forum Libraries, Components, and Plugins

CCDirector / CCGLSurfaceView

HitenParmarHitenParmar USMember ✭✭

I'm porting a Cocos2D java game to Xamarin / CocosSharp. I can't find some of the classes / methods in the CocosSharp namespace, what would be the equivalent code for it?

// set director
CCDirector director = CCDirector.sharedDirector();
director.attachInView(mGLSurfaceView);  // mGLSurfaceView is of type CCGLSurfaceView

Many thanks!

Sign In or Register to comment.