摘要:
最近两天实现了U3D和Xcode之前通过消息传递的代码,记录如下。U3D 前期准备:脚本文件:BaseGameEntity,EntityManager,NotificationCenter,NotificationCenterUpdateHelperMessageHandle,XcodeMessagerJSON插件:在工程目录的Assets中新建Plugins目录,拷贝LitJson.dll到该目录场景设置:在主场景中新建2个空GameObject,其中一个取名“MessageHandle”挂脚本“MessageHandle”另一个随意取名,挂脚本“NotificationCenterUpda 阅读全文