Sample Repository
Run the sample
- Clone Sample Repository, Change current directory to
HelloWorld. And Open with Unity. - (If you don't have NRSDK) Download NRSDK 1.7.0 from https://nreal-public.nreal.ai/download/NRSDKForUnityAndroid_1.7.0.unitypackage
- Open
Build Setting, change Platform toAndroid - Open
Project, selectAssets>import package>Custom Packageand importNRSDKForUnityAndroid_1.7.0.unitypackage. - Check
Build Settings>Player Settingsby referring to Configure Build Settings - Press
BuildformBuild Settingspanel - Install *.apk on Android or DevKit.
Tutorial
1. Setting up the project for Nreal development
- See Quickstart for Android - NRSDK Documentation and configure the build settings.
- (If you don't have NRSDK) Download NRSDK 1.7.0 from https://nreal-public.nreal.ai/download/NRSDKForUnityAndroid_1.7.0.unitypackage
- Open
Project, selectAssets>import package>Custom Packageand importNRSDKForUnityAndroid_1.7.0.unitypackage.
2. Put a Canvas in the scene
- Put
CanvasfromCreate>UI - Set property on
Inspectorpanel-
Render Mode: World Space -
Pos X: 0 ,Pos Y: -0.35Pos Z: 3 -
Scale-
X: 0.005 ,Y: 0.005 ,Z: 0.005
-
-
3. Put Text in Canvas
- Put
Textas a child ofCanvas-
Pos X: 0,Pos Y: 50,Pos Z: 3
-
- Change Text to "Hello World!" on Inspector panel.
- Change color of Text to
#fff.
4. Build
- Press
BuildformBuild Settingspanel - Install *.apk on Android or DevKit.

Top comments (0)