/unity-sdk

Thanks to our plugin, you can take advantage of all the Unity Engine features as it is the same development environment used in the OVR app. You can integrate major 3D model formats like fbx, dae, 3ds, dxf and obj, create interactions, animations and take advantage of physics rules directly from Unity, activating them through triggers or buttons. Thanks to the Unity profiler, you can change the colors of lights, insert particle elements, and check your experiences performance.

Primary LanguageC#

OVER Unity SDK

Unity Setup

  1. Go to Unity Hub, and download Unity Hub (not the beta version)
  2. After downloading Unity Hub, download Unity version 2022.3.13f1 from the Unity archive.

Unity Version Fig 1.2: Unity Version

  1. {For Windows} Select Android and iOS platform. 3.1 Select Mac platform for Over Console support. (Optional) 3.2 Select WebGL platform for Instant App support . (Optional)

Unity platforms Fig 1.3: Unity platforms

  1. {For Mac) Select Android and iOS platform. 3.1 Select Mac platform for Over Windows support. (Optional) 3.2 Select WebGL platform for Instant App support . (Optional)

Unity platforms Fig 1.3: Unity platforms

  1. Create new project in unity with the download version.

Install OVER Editor Package

The OVER Editor Package can be installed, via Unity Package Manager, by following these steps:

  • Open Window > Package Manager
  • Click the + button
  • You can either choose to install the package from a Git URL (Recommended), by pasting the following git url https://github.com/OVR-Platform/unity-sdk.git#upm, or from a tarball file (You can download the last version here).
If you have problems downloading the package from git, try the following steps
For Mac Users:
  • brew install git (https://git-scm.com/download/mac)
  • brew install git-lfs
  • git lfs install
  • sudo git lfs install --system
  • (Important) sudo ln -s "$(which git-lfs)" /usr/local/bin/
  • (Otherwise) sudo ln -s "$(which git-lfs)" "$(git --exec-path)/git-lfs"
For Windows Users:
For Glb and Gltf support in Unity

Create and use your OVER API Keys

  1. Login on the OVER Web Builder https://builder.ovr.ai using your credentials or your Metamask wallet and click on "Api Keys" from the top menu.

Create new project Fig 3.1: Click on API Keys

  1. Click on the the button "Create token".

Create new project Fig 3.2: Click on Create token

  1. Type a name as a reference and select an expiration date.

Create new project Fig 3.3: Create your token

  1. Select and copy the newly created token to use it in Unity .

Create new project Fig 3.4: Get and use your token

OVER SDK MANUAL

Visit SDK Manual