You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/OpenCvDemo/Assets/OpenCVForUnity/Plugins/iOS/OpenCVForUnityAppController.mm

23 lines
597 B

#import "UnityAppController.h"
#import <TargetConditionals.h>
extern "C" void OpenCVForUnity_UnityPluginLoad(IUnityInterfaces *interfaces);
extern "C" void OpenCVForUnity_UnityPluginUnload();
#pragma mark - App controller subclasssing
@interface OpenCVForUnityAppController : UnityAppController
{
}
- (void)shouldAttachRenderDelegate;
@end
@implementation OpenCVForUnityAppController
- (void)shouldAttachRenderDelegate;
{
UnityRegisterRenderingPluginV5(&OpenCVForUnity_UnityPluginLoad, &OpenCVForUnity_UnityPluginUnload);
}
@end
IMPL_APP_CONTROLLER_SUBCLASS(OpenCVForUnityAppController);