{"id":162991,"date":"2012-12-18T11:53:03","date_gmt":"2012-12-18T07:53:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=162991"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=162991","title":{"rendered":"<span class=\"post_title\">\u041e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u043e\u0433\u043e Objective-C \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u043a \u0438\u0433\u0440\u043e\u0432\u043e\u043c\u0443 \u0434\u0432\u0438\u0436\u043a\u0443 Unity 3D<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/b00\/2d6\/743\/b002d67433eb0867f31ae51e65b496e0.jpg\"\/><\/p>\n<p>  \u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0441\u0435\u043c \u0434\u043d\u044f. <\/p>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441 \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 Unity 3d  \u0412 \u043a\u0440\u0430\u0442\u0446\u0435 \u044d\u0442\u043e \u0442\u0440\u0435\u0445\u043c\u0435\u0440\u043d\u044b\u0439 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0434\u0432\u0438\u0436\u0435\u043a. \u041d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f, pro \u0432\u0435\u0440\u0441\u0438\u044f \u0438 \u0432\u0435\u0440\u0441\u0438\u044f \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u043b\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0443\u0436\u0435 \u0441\u0442\u043e\u044f\u0442 \u0434\u0435\u043d\u0435\u0433.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0423 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u0432\u0438\u0436\u043a\u0430 \u0431\u043e\u0433\u0430\u0442\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043d\u043e \u0432\u0441\u0435\u0433\u043e \u043e\u043d \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0435\u0449\u0438 \u0432\u0441\u0435 \u0436\u0435 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0442\u0438\u0432\u043d\u043e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0443 \u0432\u0430\u0441 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043a\u0430\u043a\u043e\u0439 \u043b\u0438\u0431\u043e \u0432\u044d\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u0430\u0448\u0435\u0439 \u043b\u0438\u0447\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0441 \u0433\u043b\u0430\u0432\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e \u0438\u0433\u0440\u044b). \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0441\u0435\u0442\u044c\u044e \u0432 unity \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u043a\u043b\u0430\u0441\u0441 WWW  \u043d\u043e \u043e\u043d \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0432\u044d\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438, \u0441 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0440\u044d\u043d\u0434\u0435\u0440\u0430 \u043e\u043d \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043d\u0435 \u043c\u043e\u0436\u0435\u0442. \u0412\u044b \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u0442\u0435 \u0432\u0441\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u0438 \u0440\u0435\u0448\u0430\u0435\u0442\u0435 \u0447\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0432\u044d\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e iOS WebView (\u0441\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c, \u0447\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c Web View \u043d\u0430 Objective-C, \u0430 \u0441\u043a\u043e\u0440\u0435\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0435\u0433\u043e \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c \u0441 Unity). \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c xCode (\u0438\u043b\u0438 AppCode) \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0443\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 (\u0442\u0443\u0442 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0443\u0447\u0435\u0441\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0439 Unity \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 ARC , \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043e\u0447\u0438\u0449\u0430\u0442\u044c \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u044c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0440\u0443\u0447\u043a\u0430\u043c\u0438). \u041d\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u0432\u0430 Objective-C \u043a\u043b\u0430\u0441\u0441\u0430. \u041d\u0430\u0437\u043e\u0432\u0435\u043c \u0438\u0445 WebController \u0438 WebViewCaller. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0441\u0442\u0441\u044f \u0447\u0435\u0442\u044b\u0440\u0435 \u0444\u0430\u0439\u043b\u0430 WebController.h, WebController.m, WebViewCaller.h \u0438 WebViewCaller.m. \u0424\u0430\u0439\u043b\u044b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .h \u044d\u0442\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b, \u0442\u0430\u043c \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043a\u043b\u0430\u0441\u0441\u0430, \u0444\u0430\u0439\u043b\u044b .m \u044d\u0442\u043e \u0438\u0445 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0447\u0442\u043e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043e\u0442 \u043d\u0430\u0448\u0435\u0433\u043e web view. \u041c\u044b \u0445\u043e\u0442\u0438\u043c \u0447\u0442\u043e \u0431\u044b \u043a\u043b\u0430\u0441\u0441 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u043b \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 NSString, \u043f\u0435\u0440\u0432\u044b\u0439 \u2014 \u044d\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0435\u0441\u043b\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0441\u0435\u0442\u044c\u044e \u0435\u0441\u0442\u044c, \u0438 \u0432\u0442\u043e\u0440\u043e\u0439, \u044d\u0442\u043e \u043f\u0443\u0442\u044c \u0432 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0434\u043e html \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0435\u0441\u043b\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u043e\u043c \u043d\u0435\u0442. \u0414\u043b\u044f WebController \u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u0442\u043e\u043b\u044c\u043a\u043e .h \u0444\u0430\u0439\u043b, \u043d\u0430 WebViewCaller \u043c\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0445\u0430\u0431\u0440\u0430, \u0433\u0443\u0433\u043b\u0430 \u0438 stackoverflow \u043c\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043a\u043b\u0430\u0441\u0441 \u0441\u043e\u0437\u0434\u0430\u044e\u0449\u0438\u0439 \u0432\u044d\u0431 \u0432\u044c\u044e. .h \u0444\u0430\u0439\u043b \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0443 \u043d\u0430\u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"objectivec\">@interface WebController : UIViewController &lt;UIWebViewDelegate&gt;  \t- (id)initWithOnlineHtml:(NSString*) _onlineHtml withOfflineHtml:(NSString*) _offlineHtml;  @end <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u0430 public \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c initWithOnlineHtml:withOfflineHtml: \u0438 \u0434\u0432\u0443\u043c\u044f \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 _onlineHtml \u0438 _offlineHtml, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0443\u043c\u0430\u044e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432\u0441\u0435\u043c \u043f\u043e\u043d\u044f\u0442\u043d\u043e.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0432\u044c\u044e \u0432 \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u042d\u0442\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u043d\u0430\u0448\u0435\u043c WebVievCaller \u043a\u043b\u0430\u0441\u0441\u0435. \u041e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0449 \u0432\u044d\u0431 \u0432\u044c\u044e, \u0438 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u043d\u0430\u0437\u0430\u0434, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u0441 \u0432\u0435\u0440\u043d\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u0432 \u043d\u0430\u0448\u0443 \u0438\u0433\u0440\u0443. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u0448 \u043a\u043b\u0430\u0441\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a (.h \u0444\u0430\u0439\u043b)<\/p>\n<pre><code class=\"objectivec\">#import &lt;Foundation\/Foundation.h&gt; #import &quot;TEWebController.h&quot;  @interface WebViewCaller : NSObject  -(IBAction)quitBack:(id)sender; -(void) callViewWithOnlineHtml:(NSString*) _onlineHtml                withOfflineHtml:(NSString*) _offlineHtml;  @end <\/code><\/pre>\n<p>  quitBack \u044d\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0436\u0430\u0442\u0438\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0438, callViewWithOnlineHtml:withOfflineHtml: \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0430\u0448 WebView \u043a \u0442\u0435\u043a\u0443\u0449\u0435\u043c\u0443 \u043e\u043a\u043d\u0443 \u0438 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443. \u0418\u0442\u0430\u043a \u043d\u0430\u0448 \u043a\u043b\u0430\u0441\u0441 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"objectivec\">@implementation WebViewCaller  UIWindow* window;  -(IBAction)quitBack:(id)sender {     NSLog(@&quot;%d&quot;,clicked.tag); }  -(void) callViewWithOnlineHtml:(NSString*) _onlineHtml                withOfflineHtml:(NSString*) _offlineHtml {     TEWebController* webController = [[TEWebController alloc] initWithOnlineHtml:_onlineHtml withOfflineHtml:_offlineHtml];          window = [[UIApplication sharedApplication] keyWindow]; \/\/1     [window setRootViewController:webController]; \/\/2     UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; \/\/3     [button addTarget:self                action:@selector(quitBack:)      forControlEvents:UIControlEventTouchUpInside];     [button setTitle:@&quot;&lt;&lt;&quot; forState:UIControlStateNormal];     button.frame = CGRectMake(0, 0, 160.0, 40.0);     [window addSubview:button]; \/\/4          [webController release]; }  @end <\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435. \u041c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u0430\u0448 \u0432\u044d\u0431 \u0432\u044c\u044e \u0441 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u043c\u0438 \u0438\u0437 unity \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438, \u0441\u0442\u0440\u043e\u043a\u043e\u0439 1 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u043e\u043a\u043d\u043e, \u0441\u0442\u0440\u043e\u043a\u043e\u0439 2 \u043c\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0430\u0448 \u0432\u044d\u0431 \u0432\u044c\u044e \u043a\u0430\u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0441\u043e \u0441\u0442\u0440\u043e\u043a\u0438 3 \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0443 4 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043a\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u0432\u043e\u0439 \u0442\u044d\u0433 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438, \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 4 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430\u0448\u0443 \u043a\u043d\u043e\u043f\u043a\u0443 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d.<br \/>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0442\u043e, \u0440\u0430\u0434\u0438 \u0447\u0435\u0433\u043e \u044d\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0430\u0441\u044c. \u041d\u0430\u043c \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u044e \u044d\u0442\u0443 \u0440\u0430\u0434\u043e\u0441\u0442\u044c \u0432 unity \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u043d\u0430\u0437\u0430\u0434.<br \/>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0442\u044c \u043d\u0430\u0448\u0438 \u043a\u043b\u0430\u0441\u0441\u044b \u0432 \u043f\u0430\u043f\u043a\u0443 &quot;\/pathToYourProject\/Assets\/Plugins\/iOS\/&quot; (\u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b). \u0417\u0430\u0447\u0435\u043c \u043c\u044b \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b\u0438, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u0435 \u0432\u044b. Unity \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 xCode, \u0438 xCode \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u0432 \u044d\u0442\u043e\u0439 \u043f\u0430\u043f\u043a\u0435, \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442. \u0412 xCode \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043e\u043d\u0438 \u043b\u0435\u0436\u0430\u0442 \u0432 \u043f\u0430\u043f\u043a\u0435 Libraries. \u0414\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u044b \u0432 \u00abC\u00bb \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0435. \u0422\u043e \u0435\u0441\u0442\u044c \u043d\u0430\u0448\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0431\u044a\u044f\u0432\u0438\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 void _CalliOSWebView(const char *onlineHtml, const char *offlineHtml); (\u0442\u0438\u043f\u0443 string \u0432 \u00abC#\u00bb&quot; \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 const char * \u0432 \u00abC\u00bb, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0430\u043c \u0435\u0449\u0435 \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043d\u0430\u0448\u0438 const char * \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432 NSString \u0438 \u0432\u044b\u0437\u0432\u0430\u0442\u044c callViewWithOnlineHtml:withOfflineHtml: \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438). \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043d\u0435 \u043a\u043b\u0430\u0441\u0441\u0430 \u043f\u043e\u0441\u043b\u0435 \u043f\u0438\u0448\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0432 \u00abC\u00bb \u0441\u0442\u0438\u043b\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0449\u0443\u044e \u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432 NSString \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e callViewWithOnlineHtml:withOfflineHtml:.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c Objective-C \u043c\u0435\u0442\u043e\u0434, \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043e\u0448\u0438\u0431\u043a\u0443 \u0432\u0438\u0434\u0430:<\/p>\n<pre><code class=\"bash\">Undefined symbols for architecture armv7: &quot;__CalliOSWebView&quot;, referenced from: RegisterMonoModules() in RegisterMonoModules.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) <\/code><\/pre>\n<p>  \u0412\u043d\u0435\u0441\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043c\u044f \u0432 \u043d\u0430\u0448 \u043a\u043b\u0430\u0441\u0441. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 .m \u0444\u0430\u0439\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<pre><code class=\"objectivec\">@implementation WebViewCaller  UIWindow* window;  -(IBAction)quitBack:(id)sender {     NSLog(@&quot;%d&quot;,clicked.tag); }  -(void) callViewWithOnlineHtml:(NSString*) _onlineHtml                withOfflineHtml:(NSString*) _offlineHtml {     TEWebController* webController = [[TEWebController alloc] initWithOnlineHtml:_onlineHtml withOfflineHtml:_offlineHtml];          window = [[UIApplication sharedApplication] keyWindow]; \/\/1     [window setRootViewController:webController]; \/\/2     UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; \/\/3     [button addTarget:self                action:@selector(quitBack:)      forControlEvents:UIControlEventTouchUpInside];     [button setTitle:@&quot;&lt;&lt;&quot; forState:UIControlStateNormal];     button.frame = CGRectMake(0, 0, 160.0, 40.0);     [window addSubview:button]; \/\/4          [webController release]; }  @end  void _CalliOSWebView(const char *onlineHtml, const char *offlineHtml) {     NSString *onlineHtmlString = [[NSString alloc] initWithUTF8String:onlineHtml];     NSString *offlineHtmlString = [[NSString alloc] initWithUTF8String:offlineHtml];     WebViewCaller *caller = [[WebViewCaller alloc] init];     [caller callViewWithOnlineHtml:onlineHtmlString withOfflineHtml:offlineHtmlString];          [onlineHtmlString release];     [offlineHtmlString release]; }  <\/code><\/pre>\n<p>  \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 .h \u0444\u0430\u0439\u043b  <\/p>\n<pre><code class=\"objectivec\">#import &lt;Foundation\/Foundation.h&gt; #import &quot;WebController.h&quot;  @interface WebViewCaller : NSObject  -(IBAction)quitBack:(id)sender; -(void) callViewWithOnlineHtml:(NSString*) _onlineHtml                withOfflineHtml:(NSString*) _offlineHtml;  @end  #ifdef __cplusplus extern &quot;C&quot; { #endif     void _CalliOSWebView(const char *onlineHtml, const char *offlineHtml); #ifdef __cplusplus } #endif <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448 \u043f\u043b\u0430\u0433\u0438\u043d. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 Unity \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f [DllImport (\u00abPluginName\u00bb)], \u043d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 iOS \u0433\u0434\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u0441\u0431\u043e\u0440\u043a\u0443, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c [DllImport (&quot;__Internal&quot;)].<br \/>  \u041a\u043e\u0434 \u0432 unity \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<pre><code class=\"cs\">public static void CallForWebPage() { \tif (Application.platform == RuntimePlatform.IPhonePlayer) \t{ \t\t\t_CalliOSWebView(&quot;http:\/\/habrahabr.ru&quot;, Application.dataPath + &quot;\/Raw\/test.html&quot;);\t\t \t} } <\/code><\/pre>\n<p>  \u0434\u0443\u043c\u0430\u044e \u0442\u0443\u0442 \u0432\u0441\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043a\u0440\u043e\u043c\u0435 \u0440\u0430\u0437\u0432\u0435 \u0447\u0442\u043e \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u0432 \u0432\u044b\u0437\u043e\u0432\u0435 _CalliOSWebView. \u041e\u043d \u0441\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0444\u0430\u0439\u043b, \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0439 \u0432 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 iOS \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u041d\u043e \u043a\u0430\u043a \u043c\u044b \u0435\u0433\u043e \u0442\u0443\u0434\u0430 \u043f\u043e\u043b\u043e\u0436\u0438\u043c? \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 unity \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 StreamingAssets  (\u0444\u0430\u0439\u043b\u044b \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u043d\u044b\u0435 \u0432 \u044d\u0442\u0443 \u043f\u0430\u043f\u043a\u0443 \u043e\u0441\u0442\u0430\u043d\u0443\u0442\u0441\u044f \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043f\u043e\u0441\u043b\u0435 \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430). \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u044d\u0442\u0443 \u043f\u0430\u043f\u043a\u0443 \u0438 \u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0442\u0443\u0434\u0430 \u043d\u0430\u0448 test.html. \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432\u044d\u0431 \u0432\u044c\u044e \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0438\u0437 \u044e\u043d\u0438\u0442\u0438 CallForWebPage() \u043d\u043e \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441 \u0441 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043d\u0430\u0437\u0430\u0434. \u0415\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432\u044c\u044e \u044e\u043d\u0438\u0442\u0438, \u043f\u043e\u0434\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0448 \u0432\u044d\u0431 \u0432\u044c\u044e, \u043f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043a\u043d\u043e\u043f\u043a\u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u044c\u044e \u044e\u043d\u0438\u0442\u0438. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u044e\u043d\u0438\u0442\u0438 \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 \u043e\u0431 \u044d\u0442\u043e\u043c, \u0438 \u0438\u0433\u0440\u0430, \u0437\u0432\u0443\u043a\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442\u0441\u044f. \u041d\u043e \u044d\u0442\u043e \u043b\u0435\u0433\u043a\u043e \u0440\u0435\u0448\u0430\u0435\u043c\u043e \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438\u0438. \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043d\u0438\u0436\u0435:<\/p>\n<pre><code class=\"objectivec\">@implementation WebViewCaller  UIViewController *unityViewController; UIWindow* window;  -(IBAction)quitBack:(id)sender {     [window setRootViewController:unityViewController]; }  -(void) callViewWithOnlineHtml:(NSString*) _onlineHtml                withOfflineHtml:(NSString*) _offlineHtml {     WebController* webController = [[TEWebController alloc] initWithOnlineHtml:_onlineHtml withOfflineHtml:_offlineHtml];          window = [[UIApplication sharedApplication] keyWindow];     unityViewController = [UIApplication sharedApplication].keyWindow.rootViewController;     [window setRootViewController:webController];     UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];     [button addTarget:self                action:@selector(quitBack:)      forControlEvents:UIControlEventTouchUpInside];     [button setTitle:@&quot;&lt;&lt;&quot; forState:UIControlStateNormal];     button.frame = CGRectMake(0, 0, 160.0, 40.0);     [window addSubview:button];          [webController release]; }  @end  void _CalliOSWebView(const char *onlineHtml, const char *offlineHtml) {     NSString *onlineHtmlString = [[NSString alloc] initWithUTF8String:onlineHtml];     NSString *offlineHtmlString = [[NSString alloc] initWithUTF8String:offlineHtml];     WebViewCaller *caller = [[WebViewCaller alloc] init];     [caller callViewWithOnlineHtml:onlineHtmlString withOfflineHtml:offlineHtmlString];          [onlineHtmlString release];     [offlineHtmlString release]; } <\/code><\/pre>\n<p>  \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0439\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441 \u0432 \u0442\u043e\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0435 \u0434\u0435\u0431\u0430\u0436\u0438\u0442\u044c. \u042f \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0440\u0435\u0448\u0438\u043b \u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 \u043a\u0443\u0434\u0430 \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438 iOS \u043f\u0440\u043e\u0435\u043a\u0442. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0438\u0437 xCode, \u043f\u0440\u0430\u0432\u0438\u043c, \u0434\u0435\u0431\u0430\u0436\u0438\u043c \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u0432\u0441\u0435 \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u043c (\u043d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u043d\u0430\u0448\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 \u043f\u0430\u043f\u043a\u0435 Libraries). \u041f\u043e\u0442\u043e\u043c \u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u043d\u0430\u0448\u0438 \u043a\u043b\u0430\u0441\u0441\u044b \u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u0432 \u043f\u0430\u043f\u043a\u0435 &quot;\/pathToYourProject\/Assets\/Plugins\/iOS\/&quot;.<\/p>\n<p>  \u0412\u043e\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438 \u0432\u0441\u0435. \u0415\u0441\u043b\u0438 \u043a\u043b\u0430\u0441\u0441 WebController \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0442\u043e \u0432\u0441\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0441\u044f \u0438 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0414\u043e \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043d\u0430 Objective-C \u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0441\u044f, \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0435\u0449\u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u0430\u043c \u0442\u043e\u043f\u043e\u0440\u043d\u044b\u043c\u0438 \u0438 \u043a\u0440\u0438\u0432\u044b\u043c\u0438, \u0437\u0430 \u0447\u0442\u043e \u044f \u0438\u0437\u0432\u0435\u043d\u044f\u044e\u0441\u044c, \u043d\u043e \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0447\u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u043c\u044b\u0441\u043b\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u044f \u0434\u043e\u043d\u0435\u0441\u0442\u0438 \u0441\u043c\u043e\u0433, \u0438 \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0447\u0442\u043e \u0441\u043c\u043e\u0433 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0445\u043e\u0442\u044c \u043a\u043e\u043c\u0443-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432 \u0440\u0430\u0431\u043e\u0442\u044b. \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<\/p>\n<p>  \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d Unity \u043c\u043e\u0433\u0443 \u043f\u043e\u0441\u043e\u0432\u0435\u0442\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b:<\/p>\n<p>  <a href=\"http:\/\/unity3d.com\">unity3d.com<\/a> \u2014 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442;<br \/>  <a href=\"http:\/\/answers.unity3d.com\">answers.unity3d.com<\/a> \u2014 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u043e\u0442\u0432\u0435\u0442\u044b. \u0421\u0430\u043c\u044b\u0439, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0440\u0435\u0441\u0443\u0440\u0441;<br \/>  <a href=\"http:\/\/forum.unity3d.com\">forum.unity3d.com<\/a> \u2014 \u0444\u043e\u0440\u0443\u043c \u043e \u044e\u043d\u0438\u0442\u0438;<br \/>  <a href=\"http:\/\/docs.unity3d.com\">docs.unity3d.com<\/a> \u2014 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f. \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/162991\/\"> http:\/\/habrahabr.ru\/post\/162991\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/b00\/2d6\/743\/b002d67433eb0867f31ae51e65b496e0.jpg\"\/><\/p>\n<p>  \u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0441\u0435\u043c \u0434\u043d\u044f. <\/p>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441 \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 Unity 3d  \u0412 \u043a\u0440\u0430\u0442\u0446\u0435 \u044d\u0442\u043e \u0442\u0440\u0435\u0445\u043c\u0435\u0440\u043d\u044b\u0439 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0434\u0432\u0438\u0436\u0435\u043a. \u041d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f, pro \u0432\u0435\u0440\u0441\u0438\u044f \u0438 \u0432\u0435\u0440\u0441\u0438\u044f \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u043b\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0443\u0436\u0435 \u0441\u0442\u043e\u044f\u0442 \u0434\u0435\u043d\u0435\u0433.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-162991","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/162991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=162991"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/162991\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=162991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=162991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=162991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}