-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppDelegate.h
executable file
·36 lines (26 loc) · 1.04 KB
/
AppDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Template
#import <UIKit/UIKit.h>
#import <Cordova/CDVViewController.h>
#import <Cordova/CDVAppDelegate.h>
#import "AppDelegate.h"
#import "UnityAppController.h"
#import "unityARCaller.h"
@interface AppDelegate : CDVAppDelegate
@property (nonatomic, strong) UIWindow* unityWindow;
@property (nonatomic, strong) UnityAppController *unityController;
@property (readwrite, assign) BOOL initialized;
@property (readwrite, assign) BOOL unityInitialized;
@property (readwrite, assign) unityARCaller* ionicComms;
@property (nonatomic, copy) NSString* m_waitingMessage;
@property (readwrite, assign) UIApplication* m_application;
@property (readwrite, assign) NSDictionary* m_options;
- (void)shouldAttachRenderDelegate;
- (void)showUnityWindow;
- (void)hideUnityWindow;
- (void)notifyUnityReady;
- (void)sendMessageToUnity:(NSString*)parameter;
- (void)sendMessageToUnity:(NSString*)func parameter:(NSString*)parameter;
- (void)assignIonicComms:(unityARCaller*)comms;
- (void)sendMessageToIonic:(NSString*)message;
- (void)sendResultToIonic:(NSString*)result;
@end