esnya / UdonRadioCommunications

Simplified radio communication system for VRChat Udon worlds.
MIT License
13 stars 9 forks source link

UdonRadioCommunication

Simplified radio communication system for VRChat Udon worlds.

image

Getting Started

  1. Create a Unity Project for VRChat World with UdonSharp using VRChat Creator Compoanion
  2. Open the Unity Project.
  3. Open the Package Manager window from Window menu.
  4. Click + button and select Add package from git URL.
  5. Enter git+https://github.com/esnya/UdonRadioCommunications.git?path=/Packages/com.nekometer.esnya.udon-radio-communications and click Add button (Enter git+https://github.com/esnya/UdonRadioCommunications.git?path=/Packages/com.nekometer.esnya.udon-radio-communications#beta to use beta releases)
  6. Install optional dependencies if you need.

Usage

For more usage such as Transceiver, open a scene Demo.unity.

Optional Dependencies

Name Description
InariUdon Interaction/TouchSwitch and Interaction/KeyboardInput are used and required in sample prefabs.

Runtime Overhead

Only one udon is using the Update loop. If the number of Transmitters is Nt, the number of Receivers is Nr, and the number of Players is Np, the computational complexity is O(Np(Nt+Nr)).

Configurations

Transceiver

Property Name Description
Exclusive Turn off receiver during transmitting.

Receiver

Property Name Description
Sync If checked, anyone who is near the receiver can listen to the radio. If not, only local clients.

SaccFlight Integrations

Integration addons for SaccFlightAndVehicles. DFUNCs are provided to manage fequency, toggle receiving and push to talk.

image

Installation

  1. Open the Package Manager window from Window menu.
  2. Click + button and select Add package from git URL.
  3. Enter git+https://github.com/esnya/UdonRadioCommunications.git?path=/Packages/com.nekometer.esnya.udon-radio-communications-sf and click Add button (Enter git+https://github.com/esnya/UdonRadioCommunications.git?path=/Packages/com.nekometer.esnya.udon-radio-communications-sf#beta to use beta releases)