VRBoxInput
iOS Plugin for Unity to capture VRBox control inputs
The following steps show how to setup this asset:
- Make sure that you are using iOS platform in Unity
- Move the
Plugins
folder into the assets root. - You must have had an Xcode project created, if not, Start a new build and Unity will create a new Xcode project.
- Open your Xcode project and go to the build settings
- Find Objective-c Bridging Header and copy and paste the following
Libraries/Plugins/iOS/VRBox/VRBoxBluetoothController-Bridging-Header.h
- You will need to change
Objective-c Generated Interface Header Name
toVRBoxPlugin-Swift.h
if you want to keepObjective-c Generated Interface Header Name
with the Product name, then you will have to change this line#include "VRBoxPlugin-Swift.h"
in fileVRBoxBridge.mm
with the product name, example #include"#includ "MyNewProductName-Swift.h"
- Finally, Search Runpath Search Paths, and add this
@executable_path/Frameworks