Created
July 31, 2018 01:07
-
-
Save sassembla/fcaf7eafd4fc220946f62e1f3b692b3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "UnityAppController.h" | |
@interface OverrideAppDelegate : UnityAppController | |
@end | |
IMPL_APP_CONTROLLER_SUBCLASS(OverrideAppDelegate) | |
@implementation OverrideAppDelegate | |
- (BOOL)application:(UIApplication*)application openURL:(NSURL*)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation | |
{ | |
UnitySendMessage("AutoyaMainthreadDispatcher", "OnURLScheme", [[url absoluteString]UTF8String]); | |
return [super application:application openURL:url sourceApplication:sourceApplication annotation:annotation]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment