LearnWithTouch/App/LearnWithTouch_ios/Classes/UI/UnityViewControllerBase.mm

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-07-01 14:33:21 +02:00
#import "UnityViewControllerBase.h"
#import "UnityAppController.h"
#import "UnityAppController+ViewHandling.h"
#import "PluginBase/UnityViewControllerListener.h"
@implementation UnityViewControllerBase
- (void)viewWillLayoutSubviews
{
[super viewWillLayoutSubviews];
AppController_SendUnityViewControllerNotification(kUnityViewWillLayoutSubviews);
}
- (void)viewDidLayoutSubviews
{
[super viewDidLayoutSubviews];
AppController_SendUnityViewControllerNotification(kUnityViewDidLayoutSubviews);
}
- (void)viewDidDisappear:(BOOL)animated
{
[super viewDidDisappear: animated];
AppController_SendUnityViewControllerNotification(kUnityViewDidDisappear);
}
- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear: animated];
AppController_SendUnityViewControllerNotification(kUnityViewWillDisappear);
}
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear: animated];
AppController_SendUnityViewControllerNotification(kUnityViewDidAppear);
}
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear: animated];
AppController_SendUnityViewControllerNotification(kUnityViewWillAppear);
}
@end