Tip: Select the right side of the directory, you can quickly find what you need
In this section a discussion: how to complete the basic configuration Unity Pico Neo 2, is behind the UI interaction pickup, transfer, etc. functions groundwork.
After completion of the Unity blog content, blog can be found to the rear of the features you need to achieve to be configured.
Behind the blog links: Portal
First, the development environment
Unity2017.4 to Unity 2019.2.16 ( Download Portal )
JDK: jdk1.8.0 and above ( Download Portal )
Android SDK: API Level 26 and above ( Download Portal )
Two, Pico Neo 2 Configuration
Turn on USB debugging
a, Go to Settings -> More -> System -> About device: continuous click PUI entry version 8, to open the developer mode.
b, return to the parent directory, enter the Developer options, open the "USB debugging"; USB Settings: MTP mode.
Three, Unity configuration
[When the project into a new empty SDK, the choice SDK pop Apply option under the Options already good default configuration . If you do not change the following options, without having to look. ]
1、Color Space
Build Settings--Other Settings--Rendering--Color Space:
- If you select Linear, the Resolution and Presentation - Blit Type must select Never, or create a multi-Unity offscreen Buffer, will show abnormalities.
- If you choose to Gamma, then Blit Type in Never or Always be selected.
2, rendering
- Graphics APIs do not support Vulkan, developers can choose OpenGLES2, OpenGLES3.
- Edit> Project Settings> Quality, Medium Check under Levels
3, steering default settings
Unity Player Setting--Default Orientation: Landscape Left
4, the vertical synchronization settings
Edit>Project Settings>Quality>V Sync Count:Don’t Sync
Fourth, the project-based feature configuration
1, Import SDK
Import SDK and import Unity, the pop-up interface, select Apply ( Download Portal )
If not pop Apply option, select the next chart option, Apply
2, the scene configuration
a, Camera configuration:
New scenes, deleted scenes Camera , will Pvr_UnitySDK preform dragged into the scene.
Transform preform position, rotation Reset.
Note: If you have multiple items in scenes, just add "DontDestroyOnLoad" method to preform on Pvr_UnitySDK main scene. Switching scenes to ensure that when there is only one Pvr_UnitySDK.
b, the handle configuration
- The PvrController0 , PvrController1 preform directly onto the Pvr_UnitySDK. Rotating position zero. (Do not drag ControllerManager preform, the preform experience unexpected errors occur during transmission, resulting in can not be transmitted. )
- PvrController0 - controller: The object Pvr_ControllerInit script --Awake method to controller4 [--controller3 displayed Pico Neo 2 handle such runtime]
- Activation controller4 object in the two handles, the handle will be displayed.
hint:
Unity simulation operation: Hold down the Alt, move the mouse, the screen is rotated along with the vertical and horizontal; hold down the left mouse button to select Alt + VR mode or Mono mode.
End of this section, Enjoy ~