1、下载并解压PICO Unity Integration SDK
2、新建Unity项目并导入PICO Unity Integration SDK
点击Window-->Package Manager,在Package Manager界面点击“+”号按钮,选择“Add package from disk...”,跳转到步骤1中SDK解压的目录,选择“package.json”即可导入PICO Unity Integration SDK
3、修改项目配置
点击Edit-->Project Settings,弹出Project Settings界面,先修改Player的配置。在Player的“Other Settings”下,找到“Identification”选项,
1)将“Minimum API Level”设置为“Android 8.0 ‘Oreo’ (API level 26)”;
2)将“Target API Level”设置为“Automatic (highest installed)”(默认)。
然后找到“Configuration”选项,
3)将“Scripting Backend”设置为“IL2CPP”,此选项会将C#代码转换成C++代码,提高效率;
4)在“Target Architectures”下勾选“ARM64”。
关于“Minimum API Level”,Unity版本与Android API有以下匹配关系:
Unity 2019.4 LTS 用 26/8.0
Unity 2020.3 LTS 用 27/8.1
Unity 2021.3 LTS 用 27/8.1
接着在XR Plugin Management下注册PICO,完成环境配置。
标签:LTS,PICO,Pico,配置,Integration,Unity,API,SDK From: https://www.cnblogs.com/zerotoinfinity/p/17024991.html