I am writing an ios plugin and while looking around found that prime31 in xcode used UnityPause() to pause the game and UnityGetGLViewController(); to get the current ViewController .However I cant find anything information about either function.
My code does not build as it cannot link to either of this functions
UnityPause is defined inside unity lib
UnityGetGLViewController() is defined in AppController.mm (3.5) or iPhone_View.mm (4.x)
you can go by simply adding prototypes:
extern void UnityPause(bool);
extern UIViewController* UnityGetGLViewController();