我在Unity / C#中为VR / Oculus开发了2个应用程序
我想从另一个发起 (他们两个都不在正式的Oculus商店里)。
我找到了这个指南:Integrate App Deeplinking
我在项目中添加了下一个代码段:
var options = new ApplicationOptions();
options.SetDeeplinkMessage("abc");
Platform.Application.LaunchOtherApp(<app_id>, options);
但IDE无法识别ApplicationOptions
和Platform
我错过了什么?
我的意思是app_id
是什么,我应该从哪里得到它?
答案 0 :(得分:1)
您应该在 const subCategories = categoriesWithSub.filter(category => {
return category.id === departments.catId;
});
部分中使用名称空间,或尝试执行以下操作:
using
如果这不起作用,请检查您是否具有Oculus的var options = new Oculus.Platform.ApplicationOptions();
options.SetDeeplinkMessage("abc");
Oculus.Platform.Application.LaunchOtherApp(<app_id>, options);
软件包。
此外,您还可以从应用程序的Oculus信息中心获取Unity Integration
。