Skip to content
Snippets Groups Projects
Commit 1d3bf63c authored by Samuel Truman's avatar Samuel Truman
Browse files

Added readme to sample

parent 8e6ccd40
No related branches found
No related tags found
No related merge requests found
# Sample Package
This is a minimal example of a Unity package which provides functionality for VIA-VR. Therefore, the package must implement an interface for the VIA-VR editor to call. This interface allows package users to configure the package as they would otherwise via e.g. the Unity inspector.
```bash
Example Package/
├───Package
│ ├───Editor // Contains both the regular Unity package editor scripts and the ExamplePackageConfigurator, which adds the required GameObject to all scenes.
│ └───Runtime // The regular Unity package runtime scripts.
├───Scenes // Exmpty example scenes to be manipulated by the package.
└───Utils // Provides functionality to simulate a call from the VIA-VR editor. Can be ignored.
```
See [Unity Bridge Readme](https://gitlab2.informatik.uni-wuerzburg.de/GE/Dev/ViaVR/components/via-vr-unity-bridge/-/blob/main/README.md) for more information.
## How to Run
Select `Unity Bridge Sample/Execute` in the Unity menu. This will simulate a call from the VIA-VR editor. The `OnConfigureScene` method will add a new GameObject to both sample scenes.
\ No newline at end of file
fileFormatVersion: 2
guid: 015557c0d96341719393253a893ba8bb
timeCreated: 1645460983
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment