iOS内嵌unity
参考文章:iOS原生集成unity—framework形式集成(一) - 简书 (jianshu.com)
iOS中嵌入unity和iOS与unity交互这位博主已经写得很详细了,我这里只是记录一下桥接文件与单例类
桥接文件:
NativeCallProxy.h
// [!] important set UnityFramework in Target Membership for this file
// [!] and set Public header visibility
#import
// NativeCallsProtocol defines protocol with methods you want to be called from managed
@protocol NativeCallsProtocol
@required
- (void) showHostMainWindow:(NSString*)color;
// other m
iOS内嵌unity最先出现在Python成神之路。
共有 0 条评论