saki4510t / UVC4UnityAndroid

UVC4UnityAndroid
Apache License 2.0
77 stars 19 forks source link

UVC4UnityAndroid

Plugin project and samples to access UVC devices on Unity Android.

Copyright (c) 2014-2024 saki t_saki@serenegiant.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

All files in the folder are under this Apache License, Version 2.0. Files under UVC4UnityAndroid/Assets/UVC4UnityAndroidPlugin/Samples/ may have different license. Please read well README.md in those folders.

Features:

Limitations:

Dependancies:

How to use:

  1. Create new project / open existing project by Unity.
  2. Install System.Text.Json if you don't yet.
    1. Install 'NuGet'(Ex. NuGetForUnity).
    2. Select Manage NuGet Packages from NuGet menu.
    3. Search System.Text.Json from search box.
    4. Select System.Text.Json and install it.
  3. Import release package of UVC4UnityAndroid Unfortunately if you have troble importing package, please try to export UVC4UnityAndroid package by your self.
  4. Confirm Graphic API setting on player settings, only OpenGL|ES is supported.
  5. Open one of sample scene from UVC4UnityAndroid/Samples/Scenes folder.
  6. Build and run apk on your real Android device.
  7. Connect UVC device(s) with Android Device. Some UVC devices / some Android devices may need powered USB hub between UVC device and Android device.

Note:

Release Note: