├── .releaserc.yml ├── .gitattributes ├── Packages ├── com.nekometer.esnya.udon-radio-communications │ ├── SampleAssets │ │ ├── Models │ │ │ ├── ICP.fbx │ │ │ ├── Transceiver.fbx │ │ │ ├── StaticTransceiver.fbx │ │ │ ├── StaticTransceiver.fbx.meta │ │ │ ├── Transceiver.fbx.meta │ │ │ └── ICP.fbx.meta │ │ ├── Sounds │ │ │ ├── lorem_ipsum.mp3 │ │ │ └── lorem_ipsum.mp3.meta │ │ ├── Prefabs │ │ │ ├── Receiver.prefab.meta │ │ │ ├── LoremIpsum.prefab.meta │ │ │ ├── Transmitter.prefab.meta │ │ │ ├── LoremIpsum.prefab │ │ │ ├── Receiver.prefab │ │ │ └── Transmitter.prefab │ │ ├── Models.meta │ │ ├── PickupTransceiver.prefab.meta │ │ ├── Sounds.meta │ │ ├── StaticTransceiver.prefab.meta │ │ ├── Animations.meta │ │ ├── Materials.meta │ │ ├── Prefabs.meta │ │ ├── Shaders.meta │ │ ├── UdonRadioCommunicationDemo.prefab.meta │ │ ├── Materials │ │ │ ├── LED_Green.mat.meta │ │ │ ├── LED_Off.mat.meta │ │ │ ├── LED_Red.mat.meta │ │ │ ├── LED_Yellow.mat.meta │ │ │ ├── Water_Quest.mat.meta │ │ │ ├── Electronic Highway Sign SDF Emissive.mat.meta │ │ │ ├── LED_Off.mat │ │ │ ├── LED_Green.mat │ │ │ ├── LED_Red.mat │ │ │ ├── LED_Yellow.mat │ │ │ ├── Water_Quest.mat │ │ │ └── Electronic Highway Sign SDF Emissive.mat │ │ ├── Animations │ │ │ ├── Transceiver.controller.meta │ │ │ ├── Transceiver_PowerOn.anim.meta │ │ │ ├── Transceiver_Talking.anim.meta │ │ │ ├── Transceiver_PowerOff.anim.meta │ │ │ ├── VehicleTransceiver.controller.meta │ │ │ ├── VehicleTransceiver_PowerOff.anim.meta │ │ │ ├── VehicleTransceiver_PowerOn.anim.meta │ │ │ ├── VehicleTransceiver_Talking.anim.meta │ │ │ ├── Transceiver_PowerOn.anim │ │ │ ├── Transceiver_Talking.anim │ │ │ ├── Transceiver_PowerOff.anim │ │ │ ├── VehicleTransceiver_Talking.anim │ │ │ ├── Transceiver.controller │ │ │ └── VehicleTransceiver.controller │ │ └── Shaders │ │ │ └── TMP_Offset.shader.meta │ ├── Demo.unity.meta │ ├── LICENSE.meta │ ├── package.json.meta │ ├── Demo.meta │ ├── Scripts.meta │ ├── UdonRadioCommunication.prefab.meta │ ├── SampleAssets.meta │ ├── Scripts │ │ ├── Utilities.meta │ │ ├── Receiver.asset.meta │ │ ├── UdonRadioCommunication.Runtime.asmdef.meta │ │ ├── Transceiver.asset.meta │ │ ├── Transmitter.asset.meta │ │ ├── UdonRadioCommunication.asset.meta │ │ ├── Utilities │ │ │ ├── DesktopOnly.asset.meta │ │ │ ├── RaycastBlocker.asset.meta │ │ │ ├── TransceiverEnabledTrigger.asset.meta │ │ │ ├── TransceiverPickupTrigger.asset.meta │ │ │ ├── DesktopOnly.cs.meta │ │ │ ├── RaycastBlocker.cs.meta │ │ │ ├── TransceiverEnabledTrigger.cs.meta │ │ │ ├── TransceiverPickupTrigger.cs.meta │ │ │ ├── DesktopOnly.cs │ │ │ ├── RaycastBlocker.cs │ │ │ ├── TransceiverEnabledTrigger.cs │ │ │ ├── TransceiverPickupTrigger.cs │ │ │ ├── DesktopOnly.asset │ │ │ ├── RaycastBlocker.asset │ │ │ ├── TransceiverEnabledTrigger.asset │ │ │ └── TransceiverPickupTrigger.asset │ │ ├── UdonRadioCommunication.Runtime.asset.meta │ │ ├── Receiver.cs.meta │ │ ├── Transceiver.cs.meta │ │ ├── Transmitter.cs.meta │ │ ├── UdonRadioCommunication.cs.meta │ │ ├── UdonRadioCommunication.Runtime.asmdef │ │ ├── UdonRadioCommunication.Runtime.asset │ │ ├── Transmitter.cs │ │ ├── Receiver.cs │ │ └── Transceiver.cs │ ├── SerializedUdonPrograms.meta │ ├── _URC.asset.meta │ ├── Demo │ │ └── OcclusionCullingData.asset.meta │ ├── SerializedUdonPrograms │ │ ├── 00b1b96886267264684ade035feca167.asset.meta │ │ ├── 43b48c4effda8a44880d27886c5e8c89.asset.meta │ │ ├── 4beff2c82c86eec498a1d563123fe01c.asset.meta │ │ ├── 92eab31760b86fc48907c779b1b536e7.asset.meta │ │ ├── 994040da9f90b2f42a97d09885f3c5c0.asset.meta │ │ ├── 9ac22c2d593ea8440a76a39b803d9007.asset.meta │ │ ├── 9c8006f757dbf294d84913856fc3de1c.asset.meta │ │ ├── b1db0f000d7e01641917a79d0bb0778e.asset.meta │ │ ├── b931d49a0a5e2174e85c0c595b9892eb.asset.meta │ │ ├── bd5187b21388cda41834c6ac4f973a53.asset.meta │ │ ├── f00300c034c479448aaf3630722ef77d.asset.meta │ │ ├── 00b1b96886267264684ade035feca167.asset │ │ ├── 43b48c4effda8a44880d27886c5e8c89.asset │ │ ├── 4beff2c82c86eec498a1d563123fe01c.asset │ │ ├── 92eab31760b86fc48907c779b1b536e7.asset │ │ ├── 994040da9f90b2f42a97d09885f3c5c0.asset │ │ ├── 9ac22c2d593ea8440a76a39b803d9007.asset │ │ ├── 9c8006f757dbf294d84913856fc3de1c.asset │ │ ├── b1db0f000d7e01641917a79d0bb0778e.asset │ │ ├── b931d49a0a5e2174e85c0c595b9892eb.asset │ │ ├── bd5187b21388cda41834c6ac4f973a53.asset │ │ └── f00300c034c479448aaf3630722ef77d.asset │ ├── package.json │ ├── LICENSE │ └── UdonRadioCommunication.prefab └── com.nekometer.esnya.udon-radio-communications-sf │ ├── Demo.unity.meta │ ├── README.md.meta │ ├── package.json.meta │ ├── Prefabs │ ├── DFUNC_URC_PTT.prefab.meta │ ├── DFUNC_URC_RX.prefab.meta │ ├── MFD_URC_Base.prefab.meta │ ├── MFD_URC_PTT.prefab.meta │ ├── MFD_URC_RX.prefab.meta │ ├── MFD_URC_Frequency.prefab.meta │ ├── DFUNC_URC_Frequency.prefab.meta │ ├── DFUNC_URC_Frequency.prefab │ ├── MFD_URC_PTT.prefab │ ├── MFD_URC_RX.prefab │ ├── MFD_URC_Frequency.prefab │ └── DFUNC_URC_PTT.prefab │ ├── Prefabs.meta │ ├── Scripts.meta │ ├── SampleVehicles.meta │ ├── SampleVehicles │ ├── SF-1Main+COM.prefab.meta │ └── SH-1Main+COM.prefab.meta │ ├── SerializedUdonPrograms.meta │ ├── _URC_SF.asset.meta │ ├── Scripts │ ├── UdonRadioCommunication.SF.Runtime.asmdef.meta │ ├── DFUNC_URC_PTT.asset.meta │ ├── DFUNC_URC_RX.asset.meta │ ├── DFUNC_URC_Frequency.asset.meta │ ├── UdonRadioCommunication.SF.Runtime.asset.meta │ ├── DFUNC_URC_PTT.cs.meta │ ├── DFUNC_URC_RX.cs.meta │ ├── DFUNC_URC_Frequency.cs.meta │ ├── UdonRadioCommunication.SF.Runtime.asset │ ├── UdonRadioCommunication.SF.Runtime.asmdef │ ├── DFUNC_URC_RX.cs │ ├── DFUNC_URC_PTT.cs │ └── DFUNC_URC_Frequency.cs │ ├── SerializedUdonPrograms │ ├── 00646b08ce6e1624fbbdf7c47cac4e2f.asset.meta │ ├── 21ae929d06fe57d4d81eebacb03b995b.asset.meta │ ├── ec9bf459e6b06b0489104b8a57c5060a.asset.meta │ ├── f3d82da0479b28b49a283cfc061f1394.asset.meta │ ├── 00646b08ce6e1624fbbdf7c47cac4e2f.asset │ ├── ec9bf459e6b06b0489104b8a57c5060a.asset │ └── f3d82da0479b28b49a283cfc061f1394.asset │ ├── README.md │ └── package.json ├── .github └── workflows │ └── release.yml ├── .gitconfig ├── .gitscripts └── filter-usharp-prefab.js ├── package.json ├── LICENSE ├── .gitignore └── README.md /.releaserc.yml: -------------------------------------------------------------------------------- 1 | plugins: 2 | - semantic-release-gitmoji 3 | - "@semantic-release/npm" 4 | - "@semantic-release/github" 5 | - "@semantic-release/git" 6 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.prefab filter=usharp-prefab diff=usharp-prefab merge=unityyamlmerge eol=lf text 2 | *.asset filter=usharp-prefab diff=usharp-prefab merge=unityyamlmerge eol=lf text 3 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models/ICP.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esnya/UdonRadioCommunications/HEAD/Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models/ICP.fbx -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models/Transceiver.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esnya/UdonRadioCommunications/HEAD/Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models/Transceiver.fbx -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Sounds/lorem_ipsum.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esnya/UdonRadioCommunications/HEAD/Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Sounds/lorem_ipsum.mp3 -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25473a537816c304daa87b58e343237e 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b549dac6593a6d4a95154624c8af77b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f995de9df608cef4cac3c505be1f0eff 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e32476f7f4701b449a3e8a93d879018 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models/StaticTransceiver.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/esnya/UdonRadioCommunications/HEAD/Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models/StaticTransceiver.fbx -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 930fa80d68ef4c9478e35e3917de018e 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a494b0c4e5f7624bbe96380fa39fe71 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Demo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c5bad2654b4f314a8537425873c1f36 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/DFUNC_URC_PTT.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65d62d943ef738846b76b933b8ecf304 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/DFUNC_URC_RX.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e35111c4b3fe4d34882b843ca8064288 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/MFD_URC_Base.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff4be531351b83549807def10f60a1d0 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/MFD_URC_PTT.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba2ba1848f8bf924fa8f149e7e1b6883 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/MFD_URC_RX.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f0fe7481cc619545bdc91922e980f57 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5dc0718d26e3251448b9af5672d0755d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/UdonRadioCommunication.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 694cce977817f56459a966291200eca2 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 749b8698df4091f48b7c96c3ec36c402 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/MFD_URC_Frequency.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f6b1d0a8db378046b3ec04c70161080 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22d3c4cde1f235043827ad4740df5e50 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e88063383cfc2e4ea913108bc614b4a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Prefabs/Receiver.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0d15dd309cbdcc459c207e69631c4a0 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/DFUNC_URC_Frequency.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5dc340bf8c775484eaa28b27b5e58069 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SampleVehicles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e5563a9f73981af4aa2a6d5b93ec4f19 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SampleVehicles/SF-1Main+COM.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5aa0696f016f7214b9ee757e6f549ee6 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SampleVehicles/SH-1Main+COM.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a35c399fcf052ad42aa9da31a8cfd147 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34eaa18b48433da4981aa179dd6fb849 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/PickupTransceiver.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd45481f45f805d479b5ec5936f1aefd 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Prefabs/LoremIpsum.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df5c8681be97959439e1422d60053153 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Prefabs/Transmitter.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af6c6a7eecd94db4d99a6edfd3ef68d6 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Sounds.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e9fed424393ccd45a02829f9af1ac83 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/StaticTransceiver.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 417a26f9a8d9ffc4880245473499ecc6 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80cfa12ce9e8ae642aaba6619334d3d0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46da6748084e0e74280726649b9bc7bd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e4c4352647ed8540921333bb0047aa5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77671079b4516dd40a01b25cd180ebc0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 892d810cea7dc0e409c2c2786a0cd609 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/UdonRadioCommunicationDemo.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a496d14eadd8a2642afddf01b6517838 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 592eb66ec6b4bf84fae1cbd7a6737c4e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SerializedUdonPrograms.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f0f4403a322edf4ebdcfbcd30f76667 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/_URC.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6752eb4284942944aa6853ab5cb73238 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/_URC_SF.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a674d26c941388641abc8ecd9cfc75e4 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Receiver.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43b48c4effda8a44880d27886c5e8c89 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/UdonRadioCommunication.Runtime.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4435fa71f40263248992f2313970ac17 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/UdonRadioCommunication.SF.Runtime.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff3197685fdaca940a87b9d7320e0464 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Transceiver.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f00300c034c479448aaf3630722ef77d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Transmitter.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00b1b96886267264684ade035feca167 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/DFUNC_URC_PTT.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec9bf459e6b06b0489104b8a57c5060a 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/DFUNC_URC_RX.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3d82da0479b28b49a283cfc061f1394 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Demo/OcclusionCullingData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21f9eed4440ecd143ace8b0099c65b11 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 36300000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/DFUNC_URC_Frequency.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00646b08ce6e1624fbbdf7c47cac4e2f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/LED_Green.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b2f264f8b4023041a29d3f12bf0537f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/LED_Off.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f9b1b6d8c0f128458643afa0ba11e28 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/LED_Red.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1856b7928a21e284fa348cd123b8960b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/LED_Yellow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c42f254f2c82094491837bfb29970b5 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/Water_Quest.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72cb3401f3680eb47a49de93e37eff61 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/UdonRadioCommunication.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 994040da9f90b2f42a97d09885f3c5c0 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/DesktopOnly.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd5187b21388cda41834c6ac4f973a53 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/RaycastBlocker.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b931d49a0a5e2174e85c0c595b9892eb 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/Transceiver.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0642a614750eb14f903a97f3b049604 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 9100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/Transceiver_PowerOn.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9cdb9911c891338439745cd395ca1d95 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/Transceiver_Talking.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3cfcb64cce0db248b0266684382e279 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/UdonRadioCommunication.Runtime.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19918e6079b30e84992b30466baa3cf2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/UdonRadioCommunication.SF.Runtime.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de636f34e0804f747b279870fdbdedd8 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/Transceiver_PowerOff.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c361c048adfaa244ab7e91ba3bc882ad 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/VehicleTransceiver.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5da729ff32dc3b9488e3999b1f4a82b4 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 9100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/TransceiverEnabledTrigger.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c8006f757dbf294d84913856fc3de1c 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/TransceiverPickupTrigger.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92eab31760b86fc48907c779b1b536e7 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/VehicleTransceiver_PowerOff.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4298a09de25e7b4cab3494f77d7cd63 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/VehicleTransceiver_PowerOn.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bbfefea6019aee34ebcd746bd0f235e8 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/VehicleTransceiver_Talking.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7544f5fd8575eb84bad2f3632a261b21 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/Electronic Highway Sign SDF Emissive.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cf6cd363eca5d8418bb3303f12a408b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/00b1b96886267264684ade035feca167.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f39e89225462e184eabc50c0f39a6486 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/43b48c4effda8a44880d27886c5e8c89.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab0b324ea24509b4ca97bff7563103c2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/4beff2c82c86eec498a1d563123fe01c.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9a186a1572753344af62282dab7b72d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/92eab31760b86fc48907c779b1b536e7.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 388ece54e4626bc4d84c8b241123a63c 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/994040da9f90b2f42a97d09885f3c5c0.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd4d5edfa9c55934ebc2a5be4a05e029 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/9ac22c2d593ea8440a76a39b803d9007.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13868815f4eda1149b4783d59aec2d05 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/9c8006f757dbf294d84913856fc3de1c.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae38224ddfa80e34bb07372e96e0741e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/b1db0f000d7e01641917a79d0bb0778e.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76695ac25c8c1e54684b95e5f0ee29f5 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/b931d49a0a5e2174e85c0c595b9892eb.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 168fd76cd3f3ccd4798d322973f55b33 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/bd5187b21388cda41834c6ac4f973a53.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d52ee4de4fd66643bc154077ea6bac4 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/f00300c034c479448aaf3630722ef77d.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6c0b64e514086644b232e646f4c2e4b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SerializedUdonPrograms/00646b08ce6e1624fbbdf7c47cac4e2f.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5e61875b00c22742ab057f8d2752571 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SerializedUdonPrograms/21ae929d06fe57d4d81eebacb03b995b.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16d8d728c99f04a4c9c1522bb3a992a5 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SerializedUdonPrograms/ec9bf459e6b06b0489104b8a57c5060a.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c69f5821f11e114ca3d548259336576 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SerializedUdonPrograms/f3d82da0479b28b49a283cfc061f1394.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0fe0ef54ae3c6243a6ffa47e83ab77d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Shaders/TMP_Offset.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c0e76cdeeae47c4bbefa83b8013fc77 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Receiver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 767ad6e146819394aaf141568b58f401 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Transceiver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81a2556e5dbb32242b3b4b4f20d8ac28 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Transmitter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98a6c27f972c24744aae89638aaf7a56 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/DFUNC_URC_PTT.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66f6c39e44130194287fc2104ef036a2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/DFUNC_URC_RX.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e670a24a4227d6b40ab950a47a794242 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/DFUNC_URC_Frequency.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ed6895efb7817649bbd332ef791c0ef 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/UdonRadioCommunication.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a1b6f42fc93f3d41a69e0ad3c9efa91 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/DesktopOnly.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fda92a4af7d88a4aba0f0d2b172847f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/RaycastBlocker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6633b9ce790bac4eb88433be8cf9935 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/TransceiverEnabledTrigger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70cf578a914384f4889c3be55c2c16c2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/TransceiverPickupTrigger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c064020e5af881f4282ca960ad04823c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release 2 | on: push 3 | jobs: 4 | release: 5 | runs-on: ubuntu-latest 6 | steps: 7 | - uses: actions/checkout@v3 8 | - uses: actions/setup-node@v3 9 | with: 10 | node-version: lts/* 11 | - run: npm ci 12 | - run: npx semantic-release 13 | env: 14 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 15 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/DesktopOnly.cs: -------------------------------------------------------------------------------- 1 | using UdonSharp; 2 | using VRC.SDKBase; 3 | 4 | namespace URC 5 | { 6 | [UdonBehaviourSyncMode(BehaviourSyncMode.None)] 7 | public class DesktopOnly : UdonSharpBehaviour 8 | { 9 | private void Start() 10 | { 11 | if (Networking.LocalPlayer.IsUserInVR()) gameObject.SetActive(false); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /.gitconfig: -------------------------------------------------------------------------------- 1 | [filter "usharp-prefab"] 2 | smudge = node .gitscripts/filter-usharp-prefab.js 3 | clean = node .gitscripts/filter-usharp-prefab.js 4 | 5 | [diff "usharp-prefab"] 6 | textconv = node .gitscripts/filter-usharp-prefab.js 7 | 8 | [mergetool "unityyamlmerge"] 9 | trustExitCode = false 10 | cmd = 'C:\\Program Files\\Unity\\Hub\\Editor\\2019.4.31f1\\Editor\\Data\\Tools\\UnityYAMLMerge.exe' merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED" 11 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/RaycastBlocker.cs: -------------------------------------------------------------------------------- 1 | using UdonSharp; 2 | using VRC.SDKBase; 3 | 4 | namespace URC 5 | { 6 | [UdonBehaviourSyncMode(BehaviourSyncMode.None)] 7 | public class RaycastBlocker : UdonSharpBehaviour 8 | { 9 | private void Start() 10 | { 11 | if (!Networking.LocalPlayer.IsUserInVR()) 12 | { 13 | gameObject.SetActive(false); 14 | } 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/UdonRadioCommunication.Runtime.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UdonRadioCommunication.Runtime", 3 | "references": [ 4 | "VRC.Udon", 5 | "UdonSharp.Runtime", 6 | "UdonSharp.Editor", 7 | "Unity.TextMeshPro" 8 | ], 9 | "includePlatforms": [], 10 | "excludePlatforms": [], 11 | "allowUnsafeCode": false, 12 | "overrideReferences": false, 13 | "precompiledReferences": [], 14 | "autoReferenced": true, 15 | "defineConstraints": [], 16 | "versionDefines": [], 17 | "noEngineReferences": false 18 | } -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Sounds/lorem_ipsum.mp3.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf2488276946a974d85e181e61b60f0a 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 2 9 | sampleRateOverride: 8000 10 | compressionFormat: 1 11 | quality: 0.01 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 1 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SerializedUdonPrograms/00646b08ce6e1624fbbdf7c47cac4e2f.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: 00646b08ce6e1624fbbdf7c47cac4e2f 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SerializedUdonPrograms/ec9bf459e6b06b0489104b8a57c5060a.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: ec9bf459e6b06b0489104b8a57c5060a 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/SerializedUdonPrograms/f3d82da0479b28b49a283cfc061f1394.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: f3d82da0479b28b49a283cfc061f1394 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/00b1b96886267264684ade035feca167.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: 00b1b96886267264684ade035feca167 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/43b48c4effda8a44880d27886c5e8c89.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: 43b48c4effda8a44880d27886c5e8c89 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/4beff2c82c86eec498a1d563123fe01c.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: 4beff2c82c86eec498a1d563123fe01c 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/92eab31760b86fc48907c779b1b536e7.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: 92eab31760b86fc48907c779b1b536e7 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/994040da9f90b2f42a97d09885f3c5c0.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: 994040da9f90b2f42a97d09885f3c5c0 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/9ac22c2d593ea8440a76a39b803d9007.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: 9ac22c2d593ea8440a76a39b803d9007 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/9c8006f757dbf294d84913856fc3de1c.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: 9c8006f757dbf294d84913856fc3de1c 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/b1db0f000d7e01641917a79d0bb0778e.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: b1db0f000d7e01641917a79d0bb0778e 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/b931d49a0a5e2174e85c0c595b9892eb.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: b931d49a0a5e2174e85c0c595b9892eb 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/bd5187b21388cda41834c6ac4f973a53.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: bd5187b21388cda41834c6ac4f973a53 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SerializedUdonPrograms/f00300c034c479448aaf3630722ef77d.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf61d954ecb803046953c666facfb904, type: 3} 13 | m_Name: f00300c034c479448aaf3630722ef77d 14 | m_EditorClassIdentifier: 15 | programUnityEngineObjects: [] 16 | serializationDataFormat: 0 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/UdonRadioCommunication.Runtime.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 5136146375e9a0a498a72a0091b40cc1, type: 3} 13 | m_Name: UdonRadioCommunication.Runtime 14 | m_EditorClassIdentifier: 15 | sourceAssembly: {fileID: 5897886265953266890, guid: 4435fa71f40263248992f2313970ac17, 16 | type: 3} 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/UdonRadioCommunication.SF.Runtime.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 5136146375e9a0a498a72a0091b40cc1, type: 3} 13 | m_Name: UdonRadioCommunication.SF.Runtime 14 | m_EditorClassIdentifier: 15 | sourceAssembly: {fileID: 5897886265953266890, guid: ff3197685fdaca940a87b9d7320e0464, 16 | type: 3} 17 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/UdonRadioCommunication.SF.Runtime.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UdonRadioCommunication.SF.Runtime", 3 | "references": [ 4 | "GUID:3c1bc1267eab5884ebe7f232c09ee0d9", 5 | "GUID:99835874ee819da44948776e0df4ff1d", 6 | "GUID:823e7b1dbeb8b2a4c9d5014bf2a39093", 7 | "GUID:6055be8ebefd69e48b49212b09b47b2f", 8 | "GUID:4435fa71f40263248992f2313970ac17" 9 | ], 10 | "includePlatforms": [], 11 | "excludePlatforms": [], 12 | "allowUnsafeCode": false, 13 | "overrideReferences": false, 14 | "precompiledReferences": [], 15 | "autoReferenced": true, 16 | "defineConstraints": [ 17 | "UDON" 18 | ], 19 | "versionDefines": [], 20 | "noEngineReferences": false 21 | } -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/TransceiverEnabledTrigger.cs: -------------------------------------------------------------------------------- 1 | using UdonSharp; 2 | using UnityEngine; 3 | 4 | namespace URC 5 | { 6 | [UdonBehaviourSyncMode(BehaviourSyncMode.None)] 7 | [DefaultExecutionOrder(1100)] // After Transceiver 8 | public class TransceiverEnabledTrigger : UdonSharpBehaviour 9 | { 10 | public Transceiver transceiver; 11 | public bool defaultReceive = true, defaultTransmit = true; 12 | 13 | private void OnEnable() 14 | { 15 | transceiver._SetReceive(defaultReceive); 16 | transceiver._SetTransmit(defaultTransmit); 17 | } 18 | 19 | private void OnDisable() 20 | { 21 | transceiver._Deactivate(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /.gitscripts/filter-usharp-prefab.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | 3 | const guidPattern = '\\{fileID: .*(\n *type: [0-9]+)?\\}'; 4 | const pattern = new RegExp( 5 | [ 6 | ` - target: ${guidPattern}\n`, 7 | " propertyPath: (serializedProgramAsset|serializationData\\..*)\n", 8 | " value:.*\n", 9 | ` objectReference: ${guidPattern}\n`, 10 | "|", 11 | ` serialized(Udon)?ProgramAsset: ${guidPattern}\n`, 12 | "|", 13 | ` serializedProgramBytesString: .*\n?`, 14 | "|", 15 | " SerializedFormat: [02]\n", 16 | ].join(""), 17 | "mg" 18 | ); 19 | 20 | const input = process.argv[2] 21 | ? fs.createReadStream(process.argv[2]) 22 | : process.stdin; 23 | 24 | const chunks = []; 25 | input.on("data", (chunk) => chunks.push(chunk)); 26 | input.on("end", () => { 27 | process.stdout.write(Buffer.concat(chunks).toString().replace(pattern, "")); 28 | }); 29 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/README.md: -------------------------------------------------------------------------------- 1 | # UdonRadioCommunication Integrations SaccFlightAndVehicles 2 | 3 | ## Requiremants 4 | - [UdonRadioCommunications](../../) 5 | - [SaccFlightAndVehicles](https://github.com/Sacchan-VRC/SaccFlightAndVehicles): 1.6 6 | 7 | ## Instllation 8 | 1. Install requrirements. 9 | 2. Open Package Manager window. 10 | 3. Click `+` button and select `Add package from git URL`. 11 | 4. Enter `https://github.com/esnya/UdonRadioCommunications.git?path=Packages/com.nekometer.esnya.udon-radio-communications-sf` (or `https://github.com/esnya/UdonRadioCommunications.git?path=Packages/com.nekometer.esnya.udon-radio-communications-sf#beta` to use beta) and click `Add`. 12 | 13 | ## Usage 14 | You can install to your vehicles as three DFUNCs. 15 | 16 | See `Demo.unity` and prefabs in `SampleVehicles`. 17 | 18 | ![image](https://user-images.githubusercontent.com/2088693/180774974-0648543a-33ba-43ef-a3b8-35a48856ce19.png) 19 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.nekometer.esnya.udon-radio-communications-sf", 3 | "displayName": "Udon Radio Communications SaccFlight Integration", 4 | "version": "1.0.0-alpha.1", 5 | "gitDependencies": { 6 | "com.merlinvr.udonsharp": "https://github.com/vrchat-community/UdonSharp.git?path=/Packages/com.vrchat.UdonSharp#1.0.1", 7 | "com.vrchat.base": "https://github.com/vrchat/packages.git?path=/packages/com.vrchat.base#3.0.4", 8 | "com.vrchat.worlds": "https://github.com/vrchat/packages.git?path=/packages/com.vrchat.worlds#3.0.4", 9 | "com.nekometer.esnya.udon-rado-communications": "https://github.com/esnya/UdonRadioCommunications.git?path=Packages/com.nekometer.esnya.udon-radio-communications" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/esnya/UdonRadioCommunication.git" 14 | }, 15 | "author": { 16 | "name": "esnya" 17 | }, 18 | "license": "MIT", 19 | "unity": "2019.4" 20 | } 21 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.nekometer.esnya.udon-radio-communication-packages", 3 | "displayName": "Udon Radio Communications", 4 | "version": "5.0.0", 5 | "private": true, 6 | "description": "Simplified radio communication system for VRChat Udon worlds.", 7 | "homepage": "https://github.com/esnya/UdonRadioCommunication#readme", 8 | "bugs": { 9 | "url": "https://github.com/esnya/UdonRadioCommunication/issues" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/esnya/UdonRadioCommunication.git" 14 | }, 15 | "license": "MIT", 16 | "author": { 17 | "name": "esnya" 18 | }, 19 | "workspaces": [ 20 | "Packages/*" 21 | ], 22 | "scripts": { 23 | "publish": "npm publish -ws", 24 | "version": "npm version -ws ${npm_package_version}" 25 | }, 26 | "devDependencies": { 27 | "@semantic-release/git": "^10.0.1", 28 | "@semantic-release/github": "^8.0.4", 29 | "@semantic-release/npm": "^9.0.1", 30 | "semantic-release": "^20.1.0", 31 | "semantic-release-gitmoji": "^1.4.5" 32 | }, 33 | "unity": "2019.4" 34 | } 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | Copyright (c) 2021 esnya 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 20 | SOFTWARE. 21 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.nekometer.esnya.udon-radio-communications", 3 | "displayName": "Udon Radio Communications", 4 | "version": "5.0.0-alpha.9", 5 | "private": true, 6 | "description": "Simplified radio communication system for VRChat Udon worlds.", 7 | "homepage": "https://github.com/esnya/UdonRadioCommunication#readme", 8 | "bugs": { 9 | "url": "https://github.com/esnya/UdonRadioCommunication/issues" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/esnya/UdonRadioCommunication.git" 14 | }, 15 | "license": "MIT", 16 | "author": { 17 | "name": "esnya" 18 | }, 19 | "gitDependencies": { 20 | "com.merlinvr.udonsharp": "https://github.com/vrchat-community/UdonSharp.git?path=/Packages/com.vrchat.UdonSharp#1.0.1", 21 | "com.vrchat.base": "https://github.com/vrchat/packages.git?path=/packages/com.vrchat.base#3.0.4", 22 | "com.vrchat.worlds": "https://github.com/vrchat/packages.git?path=/packages/com.vrchat.worlds#3.0.4" 23 | }, 24 | "legacyFolders": [ 25 | "Assets\\UdonRadioCommunication" 26 | ], 27 | "unity": "2019.4" 28 | } 29 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | Copyright (c) 2023 esnya 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 20 | SOFTWARE. 21 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/TransceiverPickupTrigger.cs: -------------------------------------------------------------------------------- 1 | using UdonSharp; 2 | using UnityEngine; 3 | using VRC.SDK3.Components; 4 | 5 | namespace URC 6 | { 7 | [RequireComponent(typeof(VRCPickup))] 8 | [UdonBehaviourSyncMode(BehaviourSyncMode.None)] 9 | public class TransceiverPickupTrigger : UdonSharpBehaviour 10 | { 11 | public Transceiver trasnceiver; 12 | public GameObject pickupOnly; 13 | public bool keepPosition; 14 | 15 | private Vector3 initialPosition; 16 | 17 | private void Start() 18 | { 19 | initialPosition = transform.localPosition; 20 | OnDrop(); 21 | } 22 | 23 | public override void OnPickupUseDown() 24 | { 25 | if (trasnceiver) trasnceiver._StartTransmit(); 26 | } 27 | public override void OnPickupUseUp() 28 | { 29 | if (trasnceiver) trasnceiver._StopTransmit(); 30 | } 31 | 32 | public override void OnPickup() 33 | { 34 | if (pickupOnly) pickupOnly.SetActive(true); 35 | } 36 | public override void OnDrop() 37 | { 38 | if (pickupOnly) pickupOnly.SetActive(false); 39 | if (keepPosition) transform.localPosition = initialPosition; 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | 3 | # This .gitignore file should be placed at the root of your Unity project directory 4 | # 5 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 6 | # 7 | /[Ll]ibrary/ 8 | /[Tt]emp/ 9 | /[Oo]bj/ 10 | /[Bb]uild/ 11 | /[Bb]uilds/ 12 | /[Ll]ogs/ 13 | /[Mm]emoryCaptures/ 14 | 15 | # Asset meta data should only be ignored when the corresponding asset is also ignored 16 | !/[Aa]ssets/**/*.meta 17 | 18 | # Uncomment this line if you wish to ignore the asset store tools plugin 19 | # /[Aa]ssets/AssetStoreTools* 20 | 21 | # Autogenerated Jetbrains Rider plugin 22 | [Aa]ssets/Plugins/Editor/JetBrains* 23 | 24 | # Visual Studio cache directory 25 | .vs/ 26 | 27 | # Gradle cache directory 28 | .gradle/ 29 | 30 | # Autogenerated VS/MD/Consulo solution and project files 31 | ExportedObj/ 32 | .consulo/ 33 | *.csproj 34 | *.unityproj 35 | *.sln 36 | *.suo 37 | *.tmp 38 | *.user 39 | *.userprefs 40 | *.pidb 41 | *.booproj 42 | *.svd 43 | *.pdb 44 | *.mdb 45 | *.opendb 46 | *.VC.db 47 | 48 | # Unity3D generated meta files 49 | *.pidb.meta 50 | *.pdb.meta 51 | *.mdb.meta 52 | 53 | # Unity3D generated file on crash reports 54 | sysinfo.txt 55 | 56 | # Builds 57 | *.apk 58 | *.unitypackage 59 | 60 | # Crashlytics generated file 61 | crashlytics-build.properties 62 | 63 | LightingData.asset* 64 | Lightmap-*.png* 65 | Lightmap-*.exr* 66 | Lightmap-*.png* 67 | ReflectionProbe-*.exr* 68 | 69 | /dist 70 | 71 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/DesktopOnly.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3} 13 | m_Name: DesktopOnly 14 | m_EditorClassIdentifier: 15 | udonAssembly: 16 | assemblyError: 17 | sourceCsScript: {fileID: 11500000, guid: 8fda92a4af7d88a4aba0f0d2b172847f, type: 3} 18 | scriptVersion: 2 19 | compiledVersion: 2 20 | behaviourSyncMode: 1 21 | hasInteractEvent: 0 22 | scriptID: 1001872975980958522 23 | serializationData: 24 | SerializedBytes: 25 | ReferencedUnityObjects: [] 26 | SerializedBytesString: 27 | Prefab: {fileID: 0} 28 | PrefabModificationsReferencedUnityObjects: [] 29 | PrefabModifications: [] 30 | SerializationNodes: 31 | - Name: fieldDefinitions 32 | Entry: 7 33 | Data: 0|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[UdonSharp.Compiler.FieldDefinition, 34 | UdonSharp.Editor]], mscorlib 35 | - Name: comparer 36 | Entry: 7 37 | Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.String, 38 | mscorlib]], mscorlib 39 | - Name: 40 | Entry: 8 41 | Data: 42 | - Name: 43 | Entry: 12 44 | Data: 0 45 | - Name: 46 | Entry: 13 47 | Data: 48 | - Name: 49 | Entry: 8 50 | Data: 51 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/RaycastBlocker.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3} 13 | m_Name: RaycastBlocker 14 | m_EditorClassIdentifier: 15 | udonAssembly: 16 | assemblyError: 17 | sourceCsScript: {fileID: 11500000, guid: e6633b9ce790bac4eb88433be8cf9935, type: 3} 18 | scriptVersion: 2 19 | compiledVersion: 2 20 | behaviourSyncMode: 1 21 | hasInteractEvent: 0 22 | scriptID: -8724976658893837861 23 | serializationData: 24 | SerializedBytes: 25 | ReferencedUnityObjects: [] 26 | SerializedBytesString: 27 | Prefab: {fileID: 0} 28 | PrefabModificationsReferencedUnityObjects: [] 29 | PrefabModifications: [] 30 | SerializationNodes: 31 | - Name: fieldDefinitions 32 | Entry: 7 33 | Data: 0|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[UdonSharp.Compiler.FieldDefinition, 34 | UdonSharp.Editor]], mscorlib 35 | - Name: comparer 36 | Entry: 7 37 | Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.String, 38 | mscorlib]], mscorlib 39 | - Name: 40 | Entry: 8 41 | Data: 42 | - Name: 43 | Entry: 12 44 | Data: 0 45 | - Name: 46 | Entry: 13 47 | Data: 48 | - Name: 49 | Entry: 8 50 | Data: 51 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/Transceiver_PowerOn.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: Transceiver_PowerOn 10 | serializedVersion: 6 11 | m_Legacy: 0 12 | m_Compressed: 0 13 | m_UseHighQualityCurve: 1 14 | m_RotationCurves: [] 15 | m_CompressedRotationCurves: [] 16 | m_EulerCurves: [] 17 | m_PositionCurves: [] 18 | m_ScaleCurves: [] 19 | m_FloatCurves: [] 20 | m_PPtrCurves: 21 | - curve: 22 | - time: 0 23 | value: {fileID: 2100000, guid: 1856b7928a21e284fa348cd123b8960b, type: 2} 24 | attribute: m_Materials.Array.data[1] 25 | path: 26 | classID: 23 27 | script: {fileID: 0} 28 | m_SampleRate: 60 29 | m_WrapMode: 0 30 | m_Bounds: 31 | m_Center: {x: 0, y: 0, z: 0} 32 | m_Extent: {x: 0, y: 0, z: 0} 33 | m_ClipBindingConstant: 34 | genericBindings: 35 | - serializedVersion: 2 36 | path: 0 37 | attribute: 1 38 | script: {fileID: 0} 39 | typeID: 23 40 | customType: 21 41 | isPPtrCurve: 1 42 | pptrCurveMapping: 43 | - {fileID: 2100000, guid: 1856b7928a21e284fa348cd123b8960b, type: 2} 44 | m_AnimationClipSettings: 45 | serializedVersion: 2 46 | m_AdditiveReferencePoseClip: {fileID: 0} 47 | m_AdditiveReferencePoseTime: 0 48 | m_StartTime: 0 49 | m_StopTime: 0.016666668 50 | m_OrientationOffsetY: 0 51 | m_Level: 0 52 | m_CycleOffset: 0 53 | m_HasAdditiveReferencePose: 0 54 | m_LoopTime: 0 55 | m_LoopBlend: 0 56 | m_LoopBlendOrientation: 0 57 | m_LoopBlendPositionY: 0 58 | m_LoopBlendPositionXZ: 0 59 | m_KeepOriginalOrientation: 0 60 | m_KeepOriginalPositionY: 1 61 | m_KeepOriginalPositionXZ: 0 62 | m_HeightFromFeet: 0 63 | m_Mirror: 0 64 | m_EditorCurves: [] 65 | m_EulerEditorCurves: [] 66 | m_HasGenericRootTransform: 0 67 | m_HasMotionFloatCurves: 0 68 | m_Events: [] 69 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/Transceiver_Talking.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: Transceiver_Talking 10 | serializedVersion: 6 11 | m_Legacy: 0 12 | m_Compressed: 0 13 | m_UseHighQualityCurve: 1 14 | m_RotationCurves: [] 15 | m_CompressedRotationCurves: [] 16 | m_EulerCurves: [] 17 | m_PositionCurves: [] 18 | m_ScaleCurves: [] 19 | m_FloatCurves: [] 20 | m_PPtrCurves: 21 | - curve: 22 | - time: 0 23 | value: {fileID: 2100000, guid: 9b2f264f8b4023041a29d3f12bf0537f, type: 2} 24 | attribute: m_Materials.Array.data[1] 25 | path: 26 | classID: 23 27 | script: {fileID: 0} 28 | m_SampleRate: 60 29 | m_WrapMode: 0 30 | m_Bounds: 31 | m_Center: {x: 0, y: 0, z: 0} 32 | m_Extent: {x: 0, y: 0, z: 0} 33 | m_ClipBindingConstant: 34 | genericBindings: 35 | - serializedVersion: 2 36 | path: 0 37 | attribute: 1 38 | script: {fileID: 0} 39 | typeID: 23 40 | customType: 21 41 | isPPtrCurve: 1 42 | pptrCurveMapping: 43 | - {fileID: 2100000, guid: 9b2f264f8b4023041a29d3f12bf0537f, type: 2} 44 | m_AnimationClipSettings: 45 | serializedVersion: 2 46 | m_AdditiveReferencePoseClip: {fileID: 0} 47 | m_AdditiveReferencePoseTime: 0 48 | m_StartTime: 0 49 | m_StopTime: 0.016666668 50 | m_OrientationOffsetY: 0 51 | m_Level: 0 52 | m_CycleOffset: 0 53 | m_HasAdditiveReferencePose: 0 54 | m_LoopTime: 0 55 | m_LoopBlend: 0 56 | m_LoopBlendOrientation: 0 57 | m_LoopBlendPositionY: 0 58 | m_LoopBlendPositionXZ: 0 59 | m_KeepOriginalOrientation: 0 60 | m_KeepOriginalPositionY: 1 61 | m_KeepOriginalPositionXZ: 0 62 | m_HeightFromFeet: 0 63 | m_Mirror: 0 64 | m_EditorCurves: [] 65 | m_EulerEditorCurves: [] 66 | m_HasGenericRootTransform: 0 67 | m_HasMotionFloatCurves: 0 68 | m_Events: [] 69 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/Transceiver_PowerOff.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: Transceiver_PowerOff 10 | serializedVersion: 6 11 | m_Legacy: 0 12 | m_Compressed: 0 13 | m_UseHighQualityCurve: 1 14 | m_RotationCurves: [] 15 | m_CompressedRotationCurves: [] 16 | m_EulerCurves: [] 17 | m_PositionCurves: [] 18 | m_ScaleCurves: [] 19 | m_FloatCurves: [] 20 | m_PPtrCurves: 21 | - curve: 22 | - time: 0 23 | value: {fileID: 2100000, guid: 6f9b1b6d8c0f128458643afa0ba11e28, type: 2} 24 | attribute: m_Materials.Array.data[1] 25 | path: 26 | classID: 23 27 | script: {fileID: 0} 28 | m_SampleRate: 60 29 | m_WrapMode: 0 30 | m_Bounds: 31 | m_Center: {x: 0, y: 0, z: 0} 32 | m_Extent: {x: 0, y: 0, z: 0} 33 | m_ClipBindingConstant: 34 | genericBindings: 35 | - serializedVersion: 2 36 | path: 0 37 | attribute: 1 38 | script: {fileID: 0} 39 | typeID: 23 40 | customType: 21 41 | isPPtrCurve: 1 42 | pptrCurveMapping: 43 | - {fileID: 2100000, guid: 6f9b1b6d8c0f128458643afa0ba11e28, type: 2} 44 | m_AnimationClipSettings: 45 | serializedVersion: 2 46 | m_AdditiveReferencePoseClip: {fileID: 0} 47 | m_AdditiveReferencePoseTime: 0 48 | m_StartTime: 0 49 | m_StopTime: 0.016666668 50 | m_OrientationOffsetY: 0 51 | m_Level: 0 52 | m_CycleOffset: 0 53 | m_HasAdditiveReferencePose: 0 54 | m_LoopTime: 0 55 | m_LoopBlend: 0 56 | m_LoopBlendOrientation: 0 57 | m_LoopBlendPositionY: 0 58 | m_LoopBlendPositionXZ: 0 59 | m_KeepOriginalOrientation: 0 60 | m_KeepOriginalPositionY: 1 61 | m_KeepOriginalPositionXZ: 0 62 | m_HeightFromFeet: 0 63 | m_Mirror: 0 64 | m_EditorCurves: [] 65 | m_EulerEditorCurves: [] 66 | m_HasGenericRootTransform: 0 67 | m_HasMotionFloatCurves: 0 68 | m_Events: [] 69 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/LED_Off.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: LED_Off 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: _EMISSION 13 | m_LightmapFlags: 1 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.75 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/LED_Green.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: LED_Green 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: _EMISSION 13 | m_LightmapFlags: 1 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.75 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 77 | - _EmissionColor: {r: 0, g: 1.5, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/LED_Red.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: LED_Red 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: _EMISSION 13 | m_LightmapFlags: 1 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.75 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 77 | - _EmissionColor: {r: 1.5, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/LED_Yellow.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: LED_Yellow 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: _EMISSION 13 | m_LightmapFlags: 1 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.75 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 77 | - _EmissionColor: {r: 1, g: 0.59607846, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/Water_Quest.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Water_Quest 11 | m_Shader: {fileID: 4800000, guid: 0b7113dea2069fc4e8943843eff19f70, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _EnableEmission: 0 64 | - _GlossMapScale: 1 65 | - _Glossiness: 0.9 66 | - _GlossyReflections: 1 67 | - _Metallic: 0 68 | - _Mode: 0 69 | - _OcclusionStrength: 1 70 | - _Parallax: 0.02 71 | - _SmoothnessTextureChannel: 0 72 | - _SpecularHighlights: 1 73 | - _SrcBlend: 1 74 | - _UVSec: 0 75 | - _ZWrite: 1 76 | m_Colors: 77 | - _Color: {r: 0.119259514, g: 0.24480024, b: 0.3773585, a: 1} 78 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 79 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UdonRadioCommunication 2 | Simplified radio communication system for VRChat Udon worlds. 3 | 4 | ![image](https://user-images.githubusercontent.com/2088693/219715229-396f0e71-921a-4e2e-814a-d814944c3fe8.png) 5 | 6 | ## Getting Started 7 | 1. Create a Unity Project for VRChat World with UdonSharp using VRChat Creator Compoanion 8 | 2. Open the Unity Project. 9 | 3. Open the Package Manager window from Window menu. 10 | 4. Click + button and select `Add package from git URL`. 11 | 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) 12 | 6. Install [optional dependencies](#optional-dependencies) if you need. 13 | 14 | ## Usage 15 | - Place `Transmitter`s and `Receiver`s wherever you want. 16 | - Call custom events `Activate` and `Deactivate` and set variable `frequency` by player interactions. 17 | - Add a single `UdonRadioCommunication` to the scene. 18 | 19 | For more usage such as `Transceiver`, open a scene `Demo.unity`. 20 | 21 | ## Optional Dependencies 22 | | Name | Description | 23 | | :-- | :-- | 24 | |[InariUdon](https://github.com/esnya/InariUdon.git) | `Interaction/TouchSwitch` and `Interaction/KeyboardInput` are used and **required in sample prefabs**. | 25 | 26 | ## Runtime Overhead 27 | 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))`. 28 | 29 | ## Configurations 30 | 31 | ### Transceiver 32 | | Property Name | Description | 33 | | :-- | :-- | 34 | | Exclusive | Turn off receiver during transmitting. | 35 | 36 | 37 | ### Receiver 38 | | Property Name | Description | 39 | | :-- | :-- | 40 | | Sync | If checked, anyone who is near the receiver can listen to the radio. If not, only local clients. | 41 | 42 | # SaccFlight Integrations 43 | Integration addons for SaccFlightAndVehicles. DFUNCs are provided to manage fequency, toggle receiving and push to talk. 44 | 45 | ![image](https://user-images.githubusercontent.com/2088693/219712019-99885e55-98cc-4578-8931-456da063de62.png) 46 | 47 | ## Installation 48 | 1. Open the Package Manager window from Window menu. 49 | 2. Click + button and select `Add package from git URL`. 50 | 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) 51 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/DFUNC_URC_RX.cs: -------------------------------------------------------------------------------- 1 | using SaccFlightAndVehicles; 2 | using UdonSharp; 3 | using UnityEngine; 4 | using VRC.SDKBase; 5 | 6 | namespace URC 7 | { 8 | [UdonBehaviourSyncMode(BehaviourSyncMode.None)] 9 | public class DFUNC_URC_RX : UdonSharpBehaviour 10 | { 11 | public GameObject Dial_Funcon; 12 | public KeyCode desktopKey = KeyCode.L; 13 | public Receiver receiver; 14 | public bool activeOnEnter = true; 15 | 16 | private string triggerAxis; 17 | public void DFUNC_LeftDial() 18 | { 19 | triggerAxis = "Oculus_CrossPlatform_PrimaryIndexTrigger"; 20 | } 21 | public void DFUNC_RightDial() 22 | { 23 | triggerAxis = "Oculus_CrossPlatform_SecondaryIndexTrigger"; 24 | } 25 | 26 | private SaccEntity CommonInit() 27 | { 28 | var entity = GetComponentInParent(); 29 | 30 | receiver.indicator = Dial_Funcon; 31 | 32 | return entity; 33 | } 34 | 35 | public void SFEXT_L_EntityStart() 36 | { 37 | var entity = CommonInit(); 38 | foreach (var seat in entity.gameObject.GetComponentsInChildren()) 39 | { 40 | if (seat.IsPilotSeat) 41 | { 42 | receiver.transform.SetParent(entity.transform, true); 43 | break; 44 | } 45 | } 46 | } 47 | public void SFEXTP_L_EntityStart() 48 | { 49 | var entity = CommonInit(); 50 | var seat = gameObject.GetComponentInParent(); 51 | receiver.transform.SetParent(seat ? seat.transform : entity.transform, true); 52 | } 53 | 54 | public void SFEXT_O_PilotEnter() 55 | { 56 | receiver.Active = activeOnEnter; 57 | if (!Networking.LocalPlayer.IsUserInVR()) DFUNC_Selected(); 58 | } 59 | public void SFEXT_O_PilotExit() 60 | { 61 | receiver._Deactivate(); 62 | DFUNC_Deselected(); 63 | } 64 | public void SFEXTP_O_UserEnter() => SFEXT_O_PilotEnter(); 65 | public void SFEXTP_O_UserExit() => SFEXT_O_PilotExit(); 66 | 67 | public void DFUNC_Selected() 68 | { 69 | gameObject.SetActive(true); 70 | } 71 | public void DFUNC_Deselected() 72 | { 73 | gameObject.SetActive(false); 74 | } 75 | 76 | private bool prevInput; 77 | private void Update() 78 | { 79 | var input = GetInput(); 80 | if (input && !prevInput) receiver._ToggleActive(); 81 | prevInput = input; 82 | } 83 | 84 | private bool GetInput() 85 | { 86 | return Input.GetKey(desktopKey) || Input.GetAxisRaw(triggerAxis) > 0.75f; 87 | } 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models/StaticTransceiver.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a3d63624b397d0448e6c536d530a2f4 3 | ModelImporter: 4 | serializedVersion: 19301 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | materialImportMode: 1 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: 33 | - '#BAKERY{"meshName":["Mic","Speaker","Transceiver","Cables"],"padding":[256,256,256,256],"unwrapper":[0,0,0,0]}' 34 | clipAnimations: [] 35 | isReadable: 0 36 | meshes: 37 | lODScreenPercentages: [] 38 | globalScale: 1 39 | meshCompression: 0 40 | addColliders: 0 41 | useSRGBMaterialColor: 1 42 | sortHierarchyByName: 1 43 | importVisibility: 1 44 | importBlendShapes: 1 45 | importCameras: 1 46 | importLights: 1 47 | fileIdsGeneration: 2 48 | swapUVChannels: 0 49 | generateSecondaryUV: 1 50 | useFileUnits: 1 51 | keepQuads: 0 52 | weldVertices: 1 53 | preserveHierarchy: 0 54 | skinWeightsMode: 0 55 | maxBonesPerVertex: 4 56 | minBoneWeight: 0.001 57 | meshOptimizationFlags: -1 58 | indexFormat: 0 59 | secondaryUVAngleDistortion: 8 60 | secondaryUVAreaDistortion: 15.000001 61 | secondaryUVHardAngle: 88 62 | secondaryUVPackMargin: 4 63 | useFileScale: 1 64 | tangentSpace: 65 | normalSmoothAngle: 60 66 | normalImportMode: 0 67 | tangentImportMode: 3 68 | normalCalculationMode: 4 69 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 70 | blendShapeNormalImportMode: 2 71 | normalSmoothingSource: 0 72 | referencedClips: [] 73 | importAnimation: 1 74 | humanDescription: 75 | serializedVersion: 3 76 | human: [] 77 | skeleton: [] 78 | armTwist: 0.5 79 | foreArmTwist: 0.5 80 | upperLegTwist: 0.5 81 | legTwist: 0.5 82 | armStretch: 0.05 83 | legStretch: 0.05 84 | feetSpacing: 0 85 | globalScale: 1 86 | rootMotionBoneName: 87 | hasTranslationDoF: 0 88 | hasExtraRoot: 0 89 | skeletonHasParents: 1 90 | lastHumanDescriptionAvatarSource: {instanceID: 0} 91 | autoGenerateAvatarMappingIfUnspecified: 1 92 | animationType: 2 93 | humanoidOversampling: 1 94 | avatarSetup: 0 95 | additionalBone: 0 96 | userData: 97 | assetBundleName: 98 | assetBundleVariant: 99 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/DFUNC_URC_PTT.cs: -------------------------------------------------------------------------------- 1 | using SaccFlightAndVehicles; 2 | using UdonSharp; 3 | using UnityEngine; 4 | using VRC.SDKBase; 5 | 6 | namespace URC 7 | { 8 | [UdonBehaviourSyncMode(BehaviourSyncMode.None)] 9 | public class DFUNC_URC_PTT : UdonSharpBehaviour 10 | { 11 | public GameObject Dial_Funcon; 12 | public KeyCode desktopKey = KeyCode.P; 13 | public Transmitter transmitter; 14 | 15 | private string triggerAxis; 16 | public void DFUNC_LeftDial() 17 | { 18 | triggerAxis = "Oculus_CrossPlatform_PrimaryIndexTrigger"; 19 | // trackingTarget = VRCPlayerApi.TrackingDataType.LeftHand; 20 | } 21 | public void DFUNC_RightDial() 22 | { 23 | triggerAxis = "Oculus_CrossPlatform_SecondaryIndexTrigger"; 24 | // trackingTarget = VRCPlayerApi.TrackingDataType.RightHand; 25 | } 26 | 27 | private SaccEntity CommonInit() 28 | { 29 | var entity = GetComponentInParent(); 30 | 31 | transmitter.indicator = Dial_Funcon; 32 | transmitter.statusIndicator = Dial_Funcon; 33 | 34 | return entity; 35 | } 36 | 37 | public void SFEXT_L_EntityStart() 38 | { 39 | var entity = CommonInit(); 40 | foreach (var seat in entity.gameObject.GetComponentsInChildren()) 41 | { 42 | if (seat.IsPilotSeat) 43 | { 44 | transmitter.transform.SetParent(entity.transform, true); 45 | break; 46 | } 47 | } 48 | } 49 | public void SFEXTP_L_EntityStart() 50 | { 51 | var entity = CommonInit(); 52 | var seat = gameObject.GetComponentInParent(); 53 | transmitter.transform.SetParent(seat ? seat.transform : entity.transform, true); 54 | } 55 | 56 | public void SFEXT_O_PilotEnter() 57 | { 58 | transmitter._Deactivate(); 59 | if (!Networking.LocalPlayer.IsUserInVR()) DFUNC_Selected(); 60 | } 61 | public void SFEXT_O_PilotExit() 62 | { 63 | DFUNC_Deselected(); 64 | } 65 | public void SFEXTP_O_UserEnter() => SFEXT_O_PilotEnter(); 66 | public void SFEXTP_O_UserExit() => SFEXT_O_PilotExit(); 67 | 68 | public void DFUNC_Selected() 69 | { 70 | gameObject.SetActive(true); 71 | } 72 | public void DFUNC_Deselected() 73 | { 74 | transmitter._Deactivate(); 75 | gameObject.SetActive(false); 76 | } 77 | 78 | private bool prevInput; 79 | private void Update() 80 | { 81 | var input = GetInput(); 82 | if (input != prevInput) 83 | { 84 | transmitter._SetActive(input); 85 | } 86 | prevInput = input; 87 | } 88 | 89 | private bool GetInput() 90 | { 91 | return Input.GetKey(desktopKey) || Input.GetAxisRaw(triggerAxis) > 0.75f; 92 | } 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models/Transceiver.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02eb328b04b5a1749a8ed2d047e6ff09 3 | ModelImporter: 4 | serializedVersion: 23 5 | fileIDToRecycleName: 6 | 100000: LCD 7 | 100002: OffButton 8 | 100004: OnButton 9 | 100006: TalkButton 10 | 100008: //RootNode 11 | 400000: LCD 12 | 400002: OffButton 13 | 400004: OnButton 14 | 400006: TalkButton 15 | 400008: //RootNode 16 | 2100000: No Name 17 | 2100002: Transceiver 18 | 2100004: Transceiver_PilotLED 19 | 2300000: //RootNode 20 | 3300000: //RootNode 21 | 4300000: Plane 22 | 4300002: Body 23 | externalObjects: {} 24 | materials: 25 | importMaterials: 1 26 | materialName: 0 27 | materialSearch: 1 28 | materialLocation: 1 29 | animations: 30 | legacyGenerateAnimations: 4 31 | bakeSimulation: 0 32 | resampleCurves: 1 33 | optimizeGameObjects: 0 34 | motionNodeName: 35 | rigImportErrors: 36 | rigImportWarnings: 37 | animationImportErrors: 38 | animationImportWarnings: 39 | animationRetargetingWarnings: 40 | animationDoRetargetingWarnings: 0 41 | importAnimatedCustomProperties: 0 42 | importConstraints: 0 43 | animationCompression: 1 44 | animationRotationError: 0.5 45 | animationPositionError: 0.5 46 | animationScaleError: 0.5 47 | animationWrapMode: 0 48 | extraExposedTransformPaths: [] 49 | extraUserProperties: [] 50 | clipAnimations: [] 51 | isReadable: 1 52 | meshes: 53 | lODScreenPercentages: [] 54 | globalScale: 1 55 | meshCompression: 0 56 | addColliders: 0 57 | useSRGBMaterialColor: 1 58 | importVisibility: 1 59 | importBlendShapes: 1 60 | importCameras: 1 61 | importLights: 1 62 | swapUVChannels: 0 63 | generateSecondaryUV: 0 64 | useFileUnits: 1 65 | optimizeMeshForGPU: 1 66 | keepQuads: 0 67 | weldVertices: 1 68 | preserveHierarchy: 0 69 | indexFormat: 0 70 | secondaryUVAngleDistortion: 8 71 | secondaryUVAreaDistortion: 15.000001 72 | secondaryUVHardAngle: 88 73 | secondaryUVPackMargin: 4 74 | useFileScale: 1 75 | previousCalculatedGlobalScale: 1 76 | hasPreviousCalculatedGlobalScale: 0 77 | tangentSpace: 78 | normalSmoothAngle: 60 79 | normalImportMode: 0 80 | tangentImportMode: 3 81 | normalCalculationMode: 4 82 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 83 | blendShapeNormalImportMode: 2 84 | normalSmoothingSource: 0 85 | importAnimation: 1 86 | copyAvatar: 0 87 | humanDescription: 88 | serializedVersion: 2 89 | human: [] 90 | skeleton: [] 91 | armTwist: 0.5 92 | foreArmTwist: 0.5 93 | upperLegTwist: 0.5 94 | legTwist: 0.5 95 | armStretch: 0.05 96 | legStretch: 0.05 97 | feetSpacing: 0 98 | rootMotionBoneName: 99 | hasTranslationDoF: 0 100 | hasExtraRoot: 0 101 | skeletonHasParents: 1 102 | lastHumanDescriptionAvatarSource: {instanceID: 0} 103 | animationType: 0 104 | humanoidOversampling: 1 105 | additionalBone: 0 106 | userData: 107 | assetBundleName: 108 | assetBundleVariant: 109 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Transmitter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UdonSharp; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | using VRC.SDKBase; 6 | 7 | namespace URC 8 | { 9 | [UdonBehaviourSyncMode(BehaviourSyncMode.Manual)] 10 | public class Transmitter : UdonSharpBehaviour 11 | { 12 | public float deactivateDelay = 1.0f; 13 | public float minDistance = 5.0f; 14 | public GameObject indicator; 15 | public GameObject statusIndicator; 16 | public Material statusInactive, statusActive, statusDeactivating; 17 | public bool indicatorAsLocal = false; 18 | 19 | [NonSerialized] public UdonRadioCommunication urc; 20 | 21 | private float lastActivatedTime; 22 | [UdonSynced][FieldChangeCallback(nameof(Active))] private bool _active; 23 | public bool Active 24 | { 25 | get => _active; 26 | private set 27 | { 28 | if (value) lastActivatedTime = Time.time; 29 | _active = value; 30 | 31 | if (indicator != null) indicator.SetActive((!indicatorAsLocal || Networking.IsOwner(gameObject)) && Active); 32 | SetIndicatorMateial(Active ? statusActive : statusInactive); 33 | } 34 | } 35 | 36 | [UdonSynced][FieldChangeCallback(nameof(Frequency))] private float _frequency; 37 | public float Frequency 38 | { 39 | get => _frequency; 40 | private set 41 | { 42 | _frequency = value; 43 | } 44 | } 45 | 46 | private void Start() 47 | { 48 | Active = false; 49 | } 50 | 51 | public void _Initialize(UdonRadioCommunication urc) 52 | { 53 | this.urc = urc; 54 | if (Networking.IsOwner(gameObject)) 55 | { 56 | Frequency = urc.defaultFrequency; 57 | RequestSerialization(); 58 | } 59 | } 60 | 61 | public void _TakeOwnership() 62 | { 63 | if (Networking.IsOwner(gameObject)) return; 64 | Networking.SetOwner(Networking.LocalPlayer, gameObject); 65 | } 66 | 67 | public void _SetActive(bool value) 68 | { 69 | _TakeOwnership(); 70 | Active = value; 71 | RequestSerialization(); 72 | } 73 | public void _Activate() => _SetActive(true); 74 | public void _Deactivate() 75 | { 76 | _TakeOwnership(); 77 | if (Active) SetIndicatorMateial(statusDeactivating); 78 | SendCustomEventDelayedSeconds(nameof(_DelayedDeactivate), deactivateDelay); 79 | } 80 | public void _DelayedDeactivate() 81 | { 82 | if (Time.time - lastActivatedTime < deactivateDelay) return; 83 | Active = false; 84 | RequestSerialization(); 85 | } 86 | public void _ToggleActive() => _SetActive(!Active); 87 | 88 | public void _SetFrequency(float f) 89 | { 90 | _TakeOwnership(); 91 | Frequency = f; 92 | RequestSerialization(); 93 | } 94 | 95 | private void SetIndicatorMateial(Material material) 96 | { 97 | if (!statusIndicator || !material) return; 98 | foreach (var renderer in statusIndicator.GetComponentsInChildren(true)) 99 | { 100 | if (!renderer) continue; 101 | renderer.sharedMaterial = material; 102 | } 103 | foreach (var image in statusIndicator.GetComponentsInChildren(true)) 104 | { 105 | if (!image) continue; 106 | image.material = material; 107 | } 108 | } 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Materials/Electronic Highway Sign SDF Emissive.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Electronic Highway Sign SDF Emissive 11 | m_Shader: {fileID: 4800000, guid: 0c0e76cdeeae47c4bbefa83b8013fc77, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 1 14 | m_EnableInstancingVariants: 1 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _Cube: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _FaceTex: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _MainTex: 35 | m_Texture: {fileID: 28981121099961358, guid: dc36b3fdc14f47ebb36fd484a67e268a, 36 | type: 2} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | - _OutlineTex: 40 | m_Texture: {fileID: 0} 41 | m_Scale: {x: 1, y: 1} 42 | m_Offset: {x: 0, y: 0} 43 | - _texcoord: 44 | m_Texture: {fileID: 0} 45 | m_Scale: {x: 1, y: 1} 46 | m_Offset: {x: 0, y: 0} 47 | - _texcoord2: 48 | m_Texture: {fileID: 0} 49 | m_Scale: {x: 1, y: 1} 50 | m_Offset: {x: 0, y: 0} 51 | m_Floats: 52 | - _Ambient: 0.5 53 | - _Bevel: 0.5 54 | - _BevelClamp: 0 55 | - _BevelOffset: 0 56 | - _BevelRoundness: 0 57 | - _BevelWidth: 0 58 | - _BumpFace: 0 59 | - _BumpOutline: 0 60 | - _ColorMask: 15 61 | - _Cutoff: 0.5 62 | - _Diffuse: 0.5 63 | - _FaceDilate: 0 64 | - _FaceUVSpeedX: 0 65 | - _FaceUVSpeedY: 0 66 | - _GlowInner: 0.05 67 | - _GlowOffset: 0 68 | - _GlowOuter: 0.05 69 | - _GlowPower: 0.75 70 | - _GradientScale: 11 71 | - _LightAngle: 3.1416 72 | - _MaskSoftnessX: 0 73 | - _MaskSoftnessY: 0 74 | - _OffsetFactor: -1 75 | - _OffsetUnits: -1 76 | - _OutlineSoftness: 0 77 | - _OutlineUVSpeedX: 0 78 | - _OutlineUVSpeedY: 0 79 | - _OutlineWidth: 0 80 | - _PerspectiveFilter: 0.875 81 | - _Reflectivity: 10 82 | - _ScaleRatioA: 0.90909094 83 | - _ScaleRatioB: 0.73125 84 | - _ScaleRatioC: 0.7386364 85 | - _ScaleRotioA: 1 86 | - _ScaleX: 1 87 | - _ScaleY: 1 88 | - _ShaderFlags: 0 89 | - _Sharpness: 0 90 | - _SpecularPower: 2 91 | - _Stencil: 0 92 | - _StencilComp: 8 93 | - _StencilOp: 0 94 | - _StencilReadMask: 255 95 | - _StencilWriteMask: 255 96 | - _TextureHeight: 512 97 | - _TextureWidth: 1024 98 | - _UnderlayDilate: 0 99 | - _UnderlayOffsetX: 0 100 | - _UnderlayOffsetY: 0 101 | - _UnderlaySoftness: 0 102 | - _VertexOffsetX: 0 103 | - _VertexOffsetY: 0 104 | - _WeightBold: 0.75 105 | - _WeightNormal: 0 106 | - __dirty: 0 107 | m_Colors: 108 | - _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767} 109 | - _Color: {r: 5.992157, g: 5.992157, b: 5.992157, a: 1} 110 | - _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0} 111 | - _FaceColor: {r: 0, g: 4, b: 0, a: 1} 112 | - _GlowColor: {r: 0, g: 1, b: 0, a: 0.5} 113 | - _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767} 114 | - _OutlineColor: {r: 0, g: 0, b: 0, a: 1} 115 | - _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1} 116 | - _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1} 117 | - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} 118 | - _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5} 119 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Receiver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UdonSharp; 3 | using UnityEngine; 4 | using VRC.SDKBase; 5 | 6 | namespace URC 7 | { 8 | [UdonBehaviourSyncMode(BehaviourSyncMode.Manual)] 9 | public class Receiver : UdonSharpBehaviour 10 | { 11 | public bool limitRange = true; 12 | public float maxRange = 5.0f; 13 | public bool sync = true; 14 | public GameObject indicator; 15 | 16 | [NonSerialized] public UdonRadioCommunication urc; 17 | 18 | private bool _active; 19 | public bool Active 20 | { 21 | get => _active; 22 | set 23 | { 24 | if (!value) _DestroyAudioObject(); 25 | if (indicator) indicator.SetActive(value); 26 | 27 | _active = value; 28 | 29 | if (sync && value != SyncedActive) 30 | { 31 | _TakeOwnership(); 32 | SyncedActive = value; 33 | RequestSerialization(); 34 | } 35 | } 36 | } 37 | 38 | private float _frequency; 39 | public float Frequency 40 | { 41 | get => _frequency; 42 | set 43 | { 44 | _DestroyAudioObject(); 45 | 46 | _frequency = value; 47 | 48 | if (sync && value != SyncedFrequency) 49 | { 50 | _TakeOwnership(); 51 | SyncedFrequency = value; 52 | RequestSerialization(); 53 | } 54 | } 55 | } 56 | 57 | [UdonSynced][FieldChangeCallback(nameof(SyncedActive))] private bool _syncedActive; 58 | public bool SyncedActive 59 | { 60 | get => _syncedActive; 61 | private set 62 | { 63 | if (!sync) return; 64 | Active = _syncedActive = value; 65 | } 66 | } 67 | [UdonSynced][FieldChangeCallback(nameof(SyncedFrequency))] private float _syncedFrequency; 68 | public float SyncedFrequency 69 | { 70 | get => _syncedFrequency; 71 | private set 72 | { 73 | if (!sync) return; 74 | Frequency = _syncedFrequency = value; 75 | } 76 | } 77 | 78 | private GameObject audioObject; 79 | 80 | private void Start() 81 | { 82 | Active = false; 83 | } 84 | 85 | public void _Initialize(UdonRadioCommunication urc) 86 | { 87 | this.urc = urc; 88 | if (Networking.IsOwner(gameObject)) 89 | { 90 | SyncedFrequency = Frequency = urc.defaultFrequency; 91 | RequestSerialization(); 92 | } 93 | } 94 | 95 | public void _TakeOwnership() 96 | { 97 | if (!sync || Networking.IsOwner(gameObject)) return; 98 | Networking.SetOwner(Networking.LocalPlayer, gameObject); 99 | } 100 | public void _Activate() => Active = true; 101 | public void _Deactivate() => Active = false; 102 | public void _ToggleActive() => Active = !Active; 103 | 104 | public void _DestroyAudioObject() 105 | { 106 | if (audioObject) Destroy(audioObject); 107 | } 108 | public bool _IsPlayngAudio() => audioObject; 109 | public void _SpawnAudioObject(GameObject template) 110 | { 111 | _DestroyAudioObject(); 112 | 113 | if (!template) return; 114 | 115 | audioObject = Instantiate(template); 116 | audioObject.transform.SetParent(transform, false); 117 | audioObject.transform.localPosition = Vector3.zero; 118 | audioObject.SetActive(true); 119 | } 120 | } 121 | } 122 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Prefabs/LoremIpsum.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &3301363561128965584 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 4752793536794133742} 12 | - component: {fileID: 8718168110694871374} 13 | - component: {fileID: 6413502484623293757} 14 | m_Layer: 0 15 | m_Name: LoremIpsum 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 0 21 | --- !u!4 &4752793536794133742 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 3301363561128965584} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!82 &8718168110694871374 36 | AudioSource: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 3301363561128965584} 42 | m_Enabled: 1 43 | serializedVersion: 4 44 | OutputAudioMixerGroup: {fileID: 0} 45 | m_audioClip: {fileID: 8300000, guid: bf2488276946a974d85e181e61b60f0a, type: 3} 46 | m_PlayOnAwake: 1 47 | m_Volume: 1 48 | m_Pitch: 1 49 | Loop: 1 50 | Mute: 0 51 | Spatialize: 1 52 | SpatializePostEffects: 0 53 | Priority: 128 54 | DopplerLevel: 1 55 | MinDistance: 1 56 | MaxDistance: 500 57 | Pan2D: 0 58 | rolloffMode: 0 59 | BypassEffects: 0 60 | BypassListenerEffects: 0 61 | BypassReverbZones: 0 62 | rolloffCustomCurve: 63 | serializedVersion: 2 64 | m_Curve: 65 | - serializedVersion: 3 66 | time: 0 67 | value: 1 68 | inSlope: 0 69 | outSlope: 0 70 | tangentMode: 0 71 | weightedMode: 0 72 | inWeight: 0.33333334 73 | outWeight: 0.33333334 74 | - serializedVersion: 3 75 | time: 1 76 | value: 0 77 | inSlope: 0 78 | outSlope: 0 79 | tangentMode: 0 80 | weightedMode: 0 81 | inWeight: 0.33333334 82 | outWeight: 0.33333334 83 | m_PreInfinity: 2 84 | m_PostInfinity: 2 85 | m_RotationOrder: 4 86 | panLevelCustomCurve: 87 | serializedVersion: 2 88 | m_Curve: 89 | - serializedVersion: 3 90 | time: 0 91 | value: 1 92 | inSlope: 0 93 | outSlope: 0 94 | tangentMode: 0 95 | weightedMode: 0 96 | inWeight: 0.33333334 97 | outWeight: 0.33333334 98 | m_PreInfinity: 2 99 | m_PostInfinity: 2 100 | m_RotationOrder: 4 101 | spreadCustomCurve: 102 | serializedVersion: 2 103 | m_Curve: 104 | - serializedVersion: 3 105 | time: 0 106 | value: 0 107 | inSlope: 0 108 | outSlope: 0 109 | tangentMode: 0 110 | weightedMode: 0 111 | inWeight: 0.33333334 112 | outWeight: 0.33333334 113 | m_PreInfinity: 2 114 | m_PostInfinity: 2 115 | m_RotationOrder: 4 116 | reverbZoneMixCustomCurve: 117 | serializedVersion: 2 118 | m_Curve: 119 | - serializedVersion: 3 120 | time: 0 121 | value: 1 122 | inSlope: 0 123 | outSlope: 0 124 | tangentMode: 0 125 | weightedMode: 0 126 | inWeight: 0.33333334 127 | outWeight: 0.33333334 128 | m_PreInfinity: 2 129 | m_PostInfinity: 2 130 | m_RotationOrder: 4 131 | --- !u!114 &6413502484623293757 132 | MonoBehaviour: 133 | m_ObjectHideFlags: 0 134 | m_CorrespondingSourceObject: {fileID: 0} 135 | m_PrefabInstance: {fileID: 0} 136 | m_PrefabAsset: {fileID: 0} 137 | m_GameObject: {fileID: 3301363561128965584} 138 | m_Enabled: 1 139 | m_EditorHideFlags: 0 140 | m_Script: {fileID: -617992517, guid: 661092b4961be7145bfbe56e1e62337b, type: 3} 141 | m_Name: 142 | m_EditorClassIdentifier: 143 | Gain: 100 144 | Far: 40 145 | Near: 0 146 | VolumetricRadius: 0 147 | EnableSpatialization: 1 148 | UseAudioSourceVolumeCurve: 0 149 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/VehicleTransceiver_Talking.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: VehicleTransceiver_Talking 10 | serializedVersion: 6 11 | m_Legacy: 0 12 | m_Compressed: 0 13 | m_UseHighQualityCurve: 1 14 | m_RotationCurves: [] 15 | m_CompressedRotationCurves: [] 16 | m_EulerCurves: [] 17 | m_PositionCurves: [] 18 | m_ScaleCurves: [] 19 | m_FloatCurves: 20 | - curve: 21 | serializedVersion: 2 22 | m_Curve: 23 | - serializedVersion: 3 24 | time: 0 25 | value: 1 26 | inSlope: 0 27 | outSlope: 0 28 | tangentMode: 136 29 | weightedMode: 0 30 | inWeight: 0 31 | outWeight: 0 32 | m_PreInfinity: 2 33 | m_PostInfinity: 2 34 | m_RotationOrder: 4 35 | attribute: m_fontColor.g 36 | path: Display/RX 37 | classID: 114 38 | script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} 39 | - curve: 40 | serializedVersion: 2 41 | m_Curve: 42 | - serializedVersion: 3 43 | time: 0 44 | value: 1 45 | inSlope: 0 46 | outSlope: 0 47 | tangentMode: 136 48 | weightedMode: 0 49 | inWeight: 0 50 | outWeight: 0 51 | m_PreInfinity: 2 52 | m_PostInfinity: 2 53 | m_RotationOrder: 4 54 | attribute: m_fontColor.g 55 | path: Display/TX 56 | classID: 114 57 | script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} 58 | m_PPtrCurves: [] 59 | m_SampleRate: 60 60 | m_WrapMode: 0 61 | m_Bounds: 62 | m_Center: {x: 0, y: 0, z: 0} 63 | m_Extent: {x: 0, y: 0, z: 0} 64 | m_ClipBindingConstant: 65 | genericBindings: 66 | - serializedVersion: 2 67 | path: 1507010316 68 | attribute: 269488542 69 | script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} 70 | typeID: 114 71 | customType: 0 72 | isPPtrCurve: 0 73 | - serializedVersion: 2 74 | path: 260669578 75 | attribute: 269488542 76 | script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} 77 | typeID: 114 78 | customType: 0 79 | isPPtrCurve: 0 80 | pptrCurveMapping: [] 81 | m_AnimationClipSettings: 82 | serializedVersion: 2 83 | m_AdditiveReferencePoseClip: {fileID: 0} 84 | m_AdditiveReferencePoseTime: 0 85 | m_StartTime: 0 86 | m_StopTime: 0 87 | m_OrientationOffsetY: 0 88 | m_Level: 0 89 | m_CycleOffset: 0 90 | m_HasAdditiveReferencePose: 0 91 | m_LoopTime: 0 92 | m_LoopBlend: 0 93 | m_LoopBlendOrientation: 0 94 | m_LoopBlendPositionY: 0 95 | m_LoopBlendPositionXZ: 0 96 | m_KeepOriginalOrientation: 0 97 | m_KeepOriginalPositionY: 1 98 | m_KeepOriginalPositionXZ: 0 99 | m_HeightFromFeet: 0 100 | m_Mirror: 0 101 | m_EditorCurves: 102 | - curve: 103 | serializedVersion: 2 104 | m_Curve: 105 | - serializedVersion: 3 106 | time: 0 107 | value: 1 108 | inSlope: 0 109 | outSlope: 0 110 | tangentMode: 136 111 | weightedMode: 0 112 | inWeight: 0 113 | outWeight: 0 114 | m_PreInfinity: 2 115 | m_PostInfinity: 2 116 | m_RotationOrder: 4 117 | attribute: m_fontColor.g 118 | path: Display/RX 119 | classID: 114 120 | script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} 121 | - curve: 122 | serializedVersion: 2 123 | m_Curve: 124 | - serializedVersion: 3 125 | time: 0 126 | value: 1 127 | inSlope: 0 128 | outSlope: 0 129 | tangentMode: 136 130 | weightedMode: 0 131 | inWeight: 0 132 | outWeight: 0 133 | m_PreInfinity: 2 134 | m_PostInfinity: 2 135 | m_RotationOrder: 4 136 | attribute: m_fontColor.g 137 | path: Display/TX 138 | classID: 114 139 | script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} 140 | m_EulerEditorCurves: [] 141 | m_HasGenericRootTransform: 0 142 | m_HasMotionFloatCurves: 0 143 | m_Events: [] 144 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Prefabs/Receiver.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &5987379627658032072 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 3947056699351966595} 12 | - component: {fileID: -1379079617158029395} 13 | - component: {fileID: 1125196902738589565} 14 | m_Layer: 17 15 | m_Name: Receiver 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &3947056699351966595 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 5987379627658032072} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!114 &-1379079617158029395 36 | MonoBehaviour: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 5987379627658032072} 42 | m_Enabled: 1 43 | m_EditorHideFlags: 0 44 | m_Script: {fileID: 11500000, guid: 767ad6e146819394aaf141568b58f401, type: 3} 45 | m_Name: 46 | m_EditorClassIdentifier: 47 | serializationData: 48 | SerializedBytes: 49 | ReferencedUnityObjects: [] 50 | SerializedBytesString: 51 | Prefab: {fileID: 0} 52 | PrefabModificationsReferencedUnityObjects: [] 53 | PrefabModifications: [] 54 | SerializationNodes: [] 55 | _udonSharpBackingUdonBehaviour: {fileID: 1125196902738589565} 56 | limitRange: 0 57 | maxRange: 5 58 | sync: 0 59 | indicator: {fileID: 0} 60 | --- !u!114 &1125196902738589565 61 | MonoBehaviour: 62 | m_ObjectHideFlags: 0 63 | m_CorrespondingSourceObject: {fileID: 0} 64 | m_PrefabInstance: {fileID: 0} 65 | m_PrefabAsset: {fileID: 0} 66 | m_GameObject: {fileID: 5987379627658032072} 67 | m_Enabled: 1 68 | m_EditorHideFlags: 0 69 | m_Script: {fileID: 11500000, guid: 45115577ef41a5b4ca741ed302693907, type: 3} 70 | m_Name: 71 | m_EditorClassIdentifier: 72 | interactTextPlacement: {fileID: 0} 73 | interactText: Use 74 | interactTextGO: {fileID: 0} 75 | proximity: 2 76 | SynchronizePosition: 0 77 | AllowCollisionOwnershipTransfer: 0 78 | Reliable: 1 79 | _syncMethod: 3 80 | programSource: {fileID: 11400000, guid: 43b48c4effda8a44880d27886c5e8c89, type: 2} 81 | serializedPublicVariablesBytesString: Ai8AAAAAATIAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAFQAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AAAAAAAYBAAAAAAAAACcBBAAAAHQAeQBwAGUAAWgAAABTAHkAcwB0AGUAbQAuAEMAbwBsAGwAZQBjAHQAaQBvAG4AcwAuAEcAZQBuAGUAcgBpAGMALgBMAGkAcwB0AGAAMQBbAFsAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBJAG4AdABlAHIAZgBhAGMAZQBzAC4ASQBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AXQBdACwAIABtAHMAYwBvAHIAbABpAGIAAQEJAAAAVgBhAHIAaQBhAGIAbABlAHMALwEAAAABaAAAAFMAeQBzAHQAZQBtAC4AQwBvAGwAbABlAGMAdABpAG8AbgBzAC4ARwBlAG4AZQByAGkAYwAuAEwAaQBzAHQAYAAxAFsAWwBWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAEkAbgB0AGUAcgBmAGEAYwBlAHMALgBJAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgBdAF0ALAAgAG0AcwBjAG8AcgBsAGkAYgABAAAABgIAAAAAAAAAAi8CAAAAAUsAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAGAAMQBbAFsAUwB5AHMAdABlAG0ALgBCAG8AbwBsAGUAYQBuACwAIABtAHMAYwBvAHIAbABpAGIAXQBdACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgACAAAABgIAAAAAAAAAJwEEAAAAdAB5AHAAZQABFwAAAFMAeQBzAHQAZQBtAC4AUwB0AHIAaQBuAGcALAAgAG0AcwBjAG8AcgBsAGkAYgAnAQoAAABTAHkAbQBiAG8AbABOAGEAbQBlAAErAAAAXwBfAF8AVQBkAG8AbgBTAGgAYQByAHAAQgBlAGgAYQB2AGkAbwB1AHIASABhAHMARABvAG4AZQBTAGMAZQBuAGUAVQBwAGcAcgBhAGQAZQBfAF8AXwAnAQQAAAB0AHkAcABlAAEYAAAAUwB5AHMAdABlAG0ALgBCAG8AbwBsAGUAYQBuACwAIABtAHMAYwBvAHIAbABpAGIAKwEFAAAAVgBhAGwAdQBlAAEHBQIvAwAAAAFJAAAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQBgADEAWwBbAFMAeQBzAHQAZQBtAC4ASQBuAHQAMwAyACwAIABtAHMAYwBvAHIAbABpAGIAXQBdACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgADAAAABgIAAAAAAAAAJwEEAAAAdAB5AHAAZQABFwAAAFMAeQBzAHQAZQBtAC4AUwB0AHIAaQBuAGcALAAgAG0AcwBjAG8AcgBsAGkAYgAnAQoAAABTAHkAbQBiAG8AbABOAGEAbQBlAAEfAAAAXwBfAF8AVQBkAG8AbgBTAGgAYQByAHAAQgBlAGgAYQB2AGkAbwB1AHIAVgBlAHIAcwBpAG8AbgBfAF8AXwAnAQQAAAB0AHkAcABlAAEWAAAAUwB5AHMAdABlAG0ALgBJAG4AdAAzADIALAAgAG0AcwBjAG8AcgBsAGkAYgAXAQUAAABWAGEAbAB1AGUAAgAAAAcFBwUHBQ== 82 | publicVariablesUnityEngineObjects: [] 83 | publicVariablesSerializationDataFormat: 0 84 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Prefabs/Transmitter.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &8980280441849054445 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 51175102155045578} 12 | - component: {fileID: 9042347520711024458} 13 | - component: {fileID: 7610221859946330717} 14 | m_Layer: 17 15 | m_Name: Transmitter 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &51175102155045578 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 8980280441849054445} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!114 &9042347520711024458 36 | MonoBehaviour: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 8980280441849054445} 42 | m_Enabled: 1 43 | m_EditorHideFlags: 0 44 | m_Script: {fileID: 11500000, guid: 98a6c27f972c24744aae89638aaf7a56, type: 3} 45 | m_Name: 46 | m_EditorClassIdentifier: 47 | serializationData: 48 | SerializedBytes: 49 | ReferencedUnityObjects: [] 50 | SerializedBytesString: 51 | Prefab: {fileID: 0} 52 | PrefabModificationsReferencedUnityObjects: [] 53 | PrefabModifications: [] 54 | SerializationNodes: [] 55 | _udonSharpBackingUdonBehaviour: {fileID: 7610221859946330717} 56 | deactivateDelay: 1 57 | minDistance: 5 58 | indicator: {fileID: 0} 59 | statusIndicator: {fileID: 0} 60 | statusInactive: {fileID: 0} 61 | statusActive: {fileID: 0} 62 | statusDeactivating: {fileID: 0} 63 | indicatorAsLocal: 0 64 | --- !u!114 &7610221859946330717 65 | MonoBehaviour: 66 | m_ObjectHideFlags: 0 67 | m_CorrespondingSourceObject: {fileID: 0} 68 | m_PrefabInstance: {fileID: 0} 69 | m_PrefabAsset: {fileID: 0} 70 | m_GameObject: {fileID: 8980280441849054445} 71 | m_Enabled: 1 72 | m_EditorHideFlags: 0 73 | m_Script: {fileID: 11500000, guid: 45115577ef41a5b4ca741ed302693907, type: 3} 74 | m_Name: 75 | m_EditorClassIdentifier: 76 | interactTextPlacement: {fileID: 0} 77 | interactText: Use 78 | interactTextGO: {fileID: 0} 79 | proximity: 2 80 | SynchronizePosition: 0 81 | AllowCollisionOwnershipTransfer: 0 82 | Reliable: 1 83 | _syncMethod: 3 84 | programSource: {fileID: 11400000, guid: 00b1b96886267264684ade035feca167, type: 2} 85 | serializedPublicVariablesBytesString: Ai8AAAAAATIAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAFQAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AAAAAAAYBAAAAAAAAACcBBAAAAHQAeQBwAGUAAWgAAABTAHkAcwB0AGUAbQAuAEMAbwBsAGwAZQBjAHQAaQBvAG4AcwAuAEcAZQBuAGUAcgBpAGMALgBMAGkAcwB0AGAAMQBbAFsAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBJAG4AdABlAHIAZgBhAGMAZQBzAC4ASQBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AXQBdACwAIABtAHMAYwBvAHIAbABpAGIAAQEJAAAAVgBhAHIAaQBhAGIAbABlAHMALwEAAAABaAAAAFMAeQBzAHQAZQBtAC4AQwBvAGwAbABlAGMAdABpAG8AbgBzAC4ARwBlAG4AZQByAGkAYwAuAEwAaQBzAHQAYAAxAFsAWwBWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAEkAbgB0AGUAcgBmAGEAYwBlAHMALgBJAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgBdAF0ALAAgAG0AcwBjAG8AcgBsAGkAYgABAAAABgIAAAAAAAAAAi8CAAAAAUsAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAGAAMQBbAFsAUwB5AHMAdABlAG0ALgBCAG8AbwBsAGUAYQBuACwAIABtAHMAYwBvAHIAbABpAGIAXQBdACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgACAAAABgIAAAAAAAAAJwEEAAAAdAB5AHAAZQABFwAAAFMAeQBzAHQAZQBtAC4AUwB0AHIAaQBuAGcALAAgAG0AcwBjAG8AcgBsAGkAYgAnAQoAAABTAHkAbQBiAG8AbABOAGEAbQBlAAErAAAAXwBfAF8AVQBkAG8AbgBTAGgAYQByAHAAQgBlAGgAYQB2AGkAbwB1AHIASABhAHMARABvAG4AZQBTAGMAZQBuAGUAVQBwAGcAcgBhAGQAZQBfAF8AXwAnAQQAAAB0AHkAcABlAAEYAAAAUwB5AHMAdABlAG0ALgBCAG8AbwBsAGUAYQBuACwAIABtAHMAYwBvAHIAbABpAGIAKwEFAAAAVgBhAGwAdQBlAAEHBQIvAwAAAAFJAAAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQBgADEAWwBbAFMAeQBzAHQAZQBtAC4ASQBuAHQAMwAyACwAIABtAHMAYwBvAHIAbABpAGIAXQBdACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgADAAAABgIAAAAAAAAAJwEEAAAAdAB5AHAAZQABFwAAAFMAeQBzAHQAZQBtAC4AUwB0AHIAaQBuAGcALAAgAG0AcwBjAG8AcgBsAGkAYgAnAQoAAABTAHkAbQBiAG8AbABOAGEAbQBlAAEfAAAAXwBfAF8AVQBkAG8AbgBTAGgAYQByAHAAQgBlAGgAYQB2AGkAbwB1AHIAVgBlAHIAcwBpAG8AbgBfAF8AXwAnAQQAAAB0AHkAcABlAAEWAAAAUwB5AHMAdABlAG0ALgBJAG4AdAAzADIALAAgAG0AcwBjAG8AcgBsAGkAYgAXAQUAAABWAGEAbAB1AGUAAgAAAAcFBwUHBQ== 86 | publicVariablesUnityEngineObjects: [] 87 | publicVariablesSerializationDataFormat: 0 88 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/DFUNC_URC_Frequency.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &6618188740344843702 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 306211662752568860} 12 | - component: {fileID: 1142681308225911664} 13 | - component: {fileID: 6000088465037644541} 14 | m_Layer: 17 15 | m_Name: DFUNC_URC_Frequency 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 0 21 | --- !u!4 &306211662752568860 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 6618188740344843702} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0.75, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!114 &1142681308225911664 36 | MonoBehaviour: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 6618188740344843702} 42 | m_Enabled: 1 43 | m_EditorHideFlags: 0 44 | m_Script: {fileID: 11500000, guid: 3ed6895efb7817649bbd332ef791c0ef, type: 3} 45 | m_Name: 46 | m_EditorClassIdentifier: 47 | serializationData: 48 | SerializedBytes: 49 | ReferencedUnityObjects: [] 50 | SerializedBytesString: 51 | Prefab: {fileID: 0} 52 | PrefabModificationsReferencedUnityObjects: [] 53 | PrefabModifications: [] 54 | SerializationNodes: [] 55 | _udonSharpBackingUdonBehaviour: {fileID: 6000088465037644541} 56 | Dial_Funcon: {fileID: 0} 57 | desktopDecrementKey: 44 58 | desktopIncrementKey: 46 59 | controllerSensitivity: 100 60 | frequencyText: {fileID: 0} 61 | frequencyTextFormat: COM 000.000 '[,.]' 62 | debugTransform: {fileID: 0} 63 | --- !u!114 &6000088465037644541 64 | MonoBehaviour: 65 | m_ObjectHideFlags: 0 66 | m_CorrespondingSourceObject: {fileID: 0} 67 | m_PrefabInstance: {fileID: 0} 68 | m_PrefabAsset: {fileID: 0} 69 | m_GameObject: {fileID: 6618188740344843702} 70 | m_Enabled: 1 71 | m_EditorHideFlags: 0 72 | m_Script: {fileID: 11500000, guid: 45115577ef41a5b4ca741ed302693907, type: 3} 73 | m_Name: 74 | m_EditorClassIdentifier: 75 | interactTextPlacement: {fileID: 0} 76 | interactText: Use 77 | interactTextGO: {fileID: 0} 78 | proximity: 2 79 | SynchronizePosition: 0 80 | AllowCollisionOwnershipTransfer: 0 81 | Reliable: 0 82 | _syncMethod: 1 83 | programSource: {fileID: 11400000, guid: 00646b08ce6e1624fbbdf7c47cac4e2f, type: 2} 84 | serializedPublicVariablesBytesString: Ai8AAAAAATIAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAFQAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AAAAAAAYBAAAAAAAAACcBBAAAAHQAeQBwAGUAAWgAAABTAHkAcwB0AGUAbQAuAEMAbwBsAGwAZQBjAHQAaQBvAG4AcwAuAEcAZQBuAGUAcgBpAGMALgBMAGkAcwB0AGAAMQBbAFsAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBJAG4AdABlAHIAZgBhAGMAZQBzAC4ASQBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AXQBdACwAIABtAHMAYwBvAHIAbABpAGIAAQEJAAAAVgBhAHIAaQBhAGIAbABlAHMALwEAAAABaAAAAFMAeQBzAHQAZQBtAC4AQwBvAGwAbABlAGMAdABpAG8AbgBzAC4ARwBlAG4AZQByAGkAYwAuAEwAaQBzAHQAYAAxAFsAWwBWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAEkAbgB0AGUAcgBmAGEAYwBlAHMALgBJAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgBdAF0ALAAgAG0AcwBjAG8AcgBsAGkAYgABAAAABgIAAAAAAAAAAi8CAAAAAUsAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAGAAMQBbAFsAUwB5AHMAdABlAG0ALgBCAG8AbwBsAGUAYQBuACwAIABtAHMAYwBvAHIAbABpAGIAXQBdACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgACAAAABgIAAAAAAAAAJwEEAAAAdAB5AHAAZQABFwAAAFMAeQBzAHQAZQBtAC4AUwB0AHIAaQBuAGcALAAgAG0AcwBjAG8AcgBsAGkAYgAnAQoAAABTAHkAbQBiAG8AbABOAGEAbQBlAAErAAAAXwBfAF8AVQBkAG8AbgBTAGgAYQByAHAAQgBlAGgAYQB2AGkAbwB1AHIASABhAHMARABvAG4AZQBTAGMAZQBuAGUAVQBwAGcAcgBhAGQAZQBfAF8AXwAnAQQAAAB0AHkAcABlAAEYAAAAUwB5AHMAdABlAG0ALgBCAG8AbwBsAGUAYQBuACwAIABtAHMAYwBvAHIAbABpAGIAKwEFAAAAVgBhAGwAdQBlAAEHBQIvAwAAAAFJAAAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQBgADEAWwBbAFMAeQBzAHQAZQBtAC4ASQBuAHQAMwAyACwAIABtAHMAYwBvAHIAbABpAGIAXQBdACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgADAAAABgIAAAAAAAAAJwEEAAAAdAB5AHAAZQABFwAAAFMAeQBzAHQAZQBtAC4AUwB0AHIAaQBuAGcALAAgAG0AcwBjAG8AcgBsAGkAYgAnAQoAAABTAHkAbQBiAG8AbABOAGEAbQBlAAEfAAAAXwBfAF8AVQBkAG8AbgBTAGgAYQByAHAAQgBlAGgAYQB2AGkAbwB1AHIAVgBlAHIAcwBpAG8AbgBfAF8AXwAnAQQAAAB0AHkAcABlAAEWAAAAUwB5AHMAdABlAG0ALgBJAG4AdAAzADIALAAgAG0AcwBjAG8AcgBsAGkAYgAXAQUAAABWAGEAbAB1AGUAAgAAAAcFBwUHBQ== 85 | publicVariablesUnityEngineObjects: [] 86 | publicVariablesSerializationDataFormat: 0 87 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Models/ICP.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b74806e88e097e4fb6cab198eeac1c1 3 | ModelImporter: 4 | serializedVersion: 23 5 | fileIDToRecycleName: 6 | 100000: 0 7 | 100002: 1 8 | 100004: 2 9 | 100006: 3 10 | 100008: 4 11 | 100010: 5 12 | 100012: 6 13 | 100014: 7 14 | 100016: 8 15 | 100018: 9 16 | 100020: A-A 17 | 100022: A-G 18 | 100024: COM1 19 | 100026: COM2 20 | 100028: DCS 21 | 100030: ENTR 22 | 100032: //RootNode 23 | 100034: IFF 24 | 100036: INC-DEC 25 | 100038: LIST 26 | 100040: RCL 27 | 400000: 0 28 | 400002: 1 29 | 400004: 2 30 | 400006: 3 31 | 400008: 4 32 | 400010: 5 33 | 400012: 6 34 | 400014: 7 35 | 400016: 8 36 | 400018: 9 37 | 400020: A-A 38 | 400022: A-G 39 | 400024: COM1 40 | 400026: COM2 41 | 400028: DCS 42 | 400030: ENTR 43 | 400032: //RootNode 44 | 400034: IFF 45 | 400036: INC-DEC 46 | 400038: LIST 47 | 400040: RCL 48 | 2100000: Material 49 | 2100002: No Name 50 | 2300000: 0 51 | 2300002: 1 52 | 2300004: 2 53 | 2300006: 3 54 | 2300008: 4 55 | 2300010: 5 56 | 2300012: 6 57 | 2300014: 7 58 | 2300016: 8 59 | 2300018: 9 60 | 2300020: A-A 61 | 2300022: A-G 62 | 2300024: COM1 63 | 2300026: COM2 64 | 2300028: DCS 65 | 2300030: ENTR 66 | 2300032: //RootNode 67 | 2300034: IFF 68 | 2300036: INC-DEC 69 | 2300038: LIST 70 | 2300040: RCL 71 | 3300000: 0 72 | 3300002: 1 73 | 3300004: 2 74 | 3300006: 3 75 | 3300008: 4 76 | 3300010: 5 77 | 3300012: 6 78 | 3300014: 7 79 | 3300016: 8 80 | 3300018: 9 81 | 3300020: A-A 82 | 3300022: A-G 83 | 3300024: COM1 84 | 3300026: COM2 85 | 3300028: DCS 86 | 3300030: ENTR 87 | 3300032: //RootNode 88 | 3300034: IFF 89 | 3300036: INC-DEC 90 | 3300038: LIST 91 | 3300040: RCL 92 | 4300000: ICP 93 | 4300002: COM1 94 | 4300004: COM2 95 | 4300006: IFF 96 | 4300008: LIST 97 | 4300010: A-A 98 | 4300012: A-G 99 | 4300014: 1 100 | 4300016: 2 101 | 4300018: 3 102 | 4300020: 4 103 | 4300022: 5 104 | 4300024: 6 105 | 4300026: 7 106 | 4300028: 8 107 | 4300030: 9 108 | 4300032: 0 109 | 4300034: RCL 110 | 4300036: ENTR 111 | 4300038: INC-DEC 112 | 4300040: DCS 113 | 4300042: Base.001 114 | externalObjects: {} 115 | materials: 116 | importMaterials: 1 117 | materialName: 0 118 | materialSearch: 1 119 | materialLocation: 1 120 | animations: 121 | legacyGenerateAnimations: 4 122 | bakeSimulation: 0 123 | resampleCurves: 1 124 | optimizeGameObjects: 0 125 | motionNodeName: 126 | rigImportErrors: 127 | rigImportWarnings: 128 | animationImportErrors: 129 | animationImportWarnings: 130 | animationRetargetingWarnings: 131 | animationDoRetargetingWarnings: 0 132 | importAnimatedCustomProperties: 0 133 | importConstraints: 0 134 | animationCompression: 1 135 | animationRotationError: 0.5 136 | animationPositionError: 0.5 137 | animationScaleError: 0.5 138 | animationWrapMode: 0 139 | extraExposedTransformPaths: [] 140 | extraUserProperties: [] 141 | clipAnimations: [] 142 | isReadable: 1 143 | meshes: 144 | lODScreenPercentages: [] 145 | globalScale: 1 146 | meshCompression: 0 147 | addColliders: 0 148 | useSRGBMaterialColor: 1 149 | importVisibility: 1 150 | importBlendShapes: 1 151 | importCameras: 1 152 | importLights: 1 153 | swapUVChannels: 0 154 | generateSecondaryUV: 0 155 | useFileUnits: 1 156 | optimizeMeshForGPU: 1 157 | keepQuads: 0 158 | weldVertices: 1 159 | preserveHierarchy: 0 160 | indexFormat: 0 161 | secondaryUVAngleDistortion: 8 162 | secondaryUVAreaDistortion: 15.000001 163 | secondaryUVHardAngle: 88 164 | secondaryUVPackMargin: 4 165 | useFileScale: 1 166 | previousCalculatedGlobalScale: 1 167 | hasPreviousCalculatedGlobalScale: 0 168 | tangentSpace: 169 | normalSmoothAngle: 60 170 | normalImportMode: 0 171 | tangentImportMode: 3 172 | normalCalculationMode: 4 173 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 174 | blendShapeNormalImportMode: 1 175 | normalSmoothingSource: 0 176 | importAnimation: 1 177 | copyAvatar: 0 178 | humanDescription: 179 | serializedVersion: 2 180 | human: [] 181 | skeleton: [] 182 | armTwist: 0.5 183 | foreArmTwist: 0.5 184 | upperLegTwist: 0.5 185 | legTwist: 0.5 186 | armStretch: 0.05 187 | legStretch: 0.05 188 | feetSpacing: 0 189 | rootMotionBoneName: 190 | hasTranslationDoF: 0 191 | hasExtraRoot: 0 192 | skeletonHasParents: 1 193 | lastHumanDescriptionAvatarSource: {instanceID: 0} 194 | animationType: 0 195 | humanoidOversampling: 1 196 | additionalBone: 0 197 | userData: 198 | assetBundleName: 199 | assetBundleVariant: 200 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/UdonRadioCommunication.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &8288458946717863568 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 8288458946717863571} 12 | - component: {fileID: 6108285890744301097} 13 | - component: {fileID: 8288458946717863570} 14 | m_Layer: 0 15 | m_Name: UdonRadioCommunication 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &8288458946717863571 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 8288458946717863568} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!114 &6108285890744301097 36 | MonoBehaviour: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 8288458946717863568} 42 | m_Enabled: 1 43 | m_EditorHideFlags: 0 44 | m_Script: {fileID: 11500000, guid: 5a1b6f42fc93f3d41a69e0ad3c9efa91, type: 3} 45 | m_Name: 46 | m_EditorClassIdentifier: 47 | serializationData: 48 | SerializedBytes: 49 | ReferencedUnityObjects: [] 50 | SerializedBytesString: 51 | Prefab: {fileID: 0} 52 | PrefabModificationsReferencedUnityObjects: [] 53 | PrefabModifications: [] 54 | SerializationNodes: [] 55 | _udonSharpBackingUdonBehaviour: {fileID: 8288458946717863570} 56 | defaultVoiceGain: 15 57 | defaultVoiceDistanceNear: 0 58 | defaultVoiceDistanceFar: 25 59 | defaultVoiceVolumetricRadius: 0 60 | distanceAttenuation: 10 61 | disableLowpassFilter: 1 62 | defaultFrequency: 118 63 | minFrequency: 118 64 | maxFrequency: 136.975 65 | frequencyStep: 0.025 66 | fastFrequencyStep: 1 67 | frequencyGap: 0.01 68 | audioObjectTemplates: [] 69 | audioObjectFrequencies: [] 70 | debugText: {fileID: 0} 71 | debugTextUi: {fileID: 0} 72 | transmitters: [] 73 | receivers: [] 74 | transceivers: [] 75 | --- !u!114 &8288458946717863570 76 | MonoBehaviour: 77 | m_ObjectHideFlags: 0 78 | m_CorrespondingSourceObject: {fileID: 0} 79 | m_PrefabInstance: {fileID: 0} 80 | m_PrefabAsset: {fileID: 0} 81 | m_GameObject: {fileID: 8288458946717863568} 82 | m_Enabled: 1 83 | m_EditorHideFlags: 0 84 | m_Script: {fileID: 11500000, guid: 45115577ef41a5b4ca741ed302693907, type: 3} 85 | m_Name: 86 | m_EditorClassIdentifier: 87 | interactTextPlacement: {fileID: 0} 88 | interactText: Use 89 | interactTextGO: {fileID: 0} 90 | proximity: 2 91 | SynchronizePosition: 0 92 | AllowCollisionOwnershipTransfer: 0 93 | Reliable: 0 94 | _syncMethod: 1 95 | programSource: {fileID: 11400000, guid: 994040da9f90b2f42a97d09885f3c5c0, type: 2} 96 | serializedPublicVariablesBytesString: Ai8AAAAAATIAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAFQAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AAAAAAAYBAAAAAAAAACcBBAAAAHQAeQBwAGUAAWgAAABTAHkAcwB0AGUAbQAuAEMAbwBsAGwAZQBjAHQAaQBvAG4AcwAuAEcAZQBuAGUAcgBpAGMALgBMAGkAcwB0AGAAMQBbAFsAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBJAG4AdABlAHIAZgBhAGMAZQBzAC4ASQBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AXQBdACwAIABtAHMAYwBvAHIAbABpAGIAAQEJAAAAVgBhAHIAaQBhAGIAbABlAHMALwEAAAABaAAAAFMAeQBzAHQAZQBtAC4AQwBvAGwAbABlAGMAdABpAG8AbgBzAC4ARwBlAG4AZQByAGkAYwAuAEwAaQBzAHQAYAAxAFsAWwBWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAEkAbgB0AGUAcgBmAGEAYwBlAHMALgBJAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgBdAF0ALAAgAG0AcwBjAG8AcgBsAGkAYgABAAAABgIAAAAAAAAAAi8CAAAAAUkAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAGAAMQBbAFsAUwB5AHMAdABlAG0ALgBJAG4AdAAzADIALAAgAG0AcwBjAG8AcgBsAGkAYgBdAF0ALAAgAFYAUgBDAC4AVQBkAG8AbgAuAEMAbwBtAG0AbwBuAAIAAAAGAgAAAAAAAAAnAQQAAAB0AHkAcABlAAEXAAAAUwB5AHMAdABlAG0ALgBTAHQAcgBpAG4AZwAsACAAbQBzAGMAbwByAGwAaQBiACcBCgAAAFMAeQBtAGIAbwBsAE4AYQBtAGUAAR8AAABfAF8AXwBVAGQAbwBuAFMAaABhAHIAcABCAGUAaABhAHYAaQBvAHUAcgBWAGUAcgBzAGkAbwBuAF8AXwBfACcBBAAAAHQAeQBwAGUAARYAAABTAHkAcwB0AGUAbQAuAEkAbgB0ADMAMgAsACAAbQBzAGMAbwByAGwAaQBiABcBBQAAAFYAYQBsAHUAZQACAAAABwUCLwMAAAABSwAAAFYAUgBDAC4AVQBkAG8AbgAuAEMAbwBtAG0AbwBuAC4AVQBkAG8AbgBWAGEAcgBpAGEAYgBsAGUAYAAxAFsAWwBTAHkAcwB0AGUAbQAuAEIAbwBvAGwAZQBhAG4ALAAgAG0AcwBjAG8AcgBsAGkAYgBdAF0ALAAgAFYAUgBDAC4AVQBkAG8AbgAuAEMAbwBtAG0AbwBuAAMAAAAGAgAAAAAAAAAnAQQAAAB0AHkAcABlAAEXAAAAUwB5AHMAdABlAG0ALgBTAHQAcgBpAG4AZwAsACAAbQBzAGMAbwByAGwAaQBiACcBCgAAAFMAeQBtAGIAbwBsAE4AYQBtAGUAASsAAABfAF8AXwBVAGQAbwBuAFMAaABhAHIAcABCAGUAaABhAHYAaQBvAHUAcgBIAGEAcwBEAG8AbgBlAFMAYwBlAG4AZQBVAHAAZwByAGEAZABlAF8AXwBfACcBBAAAAHQAeQBwAGUAARgAAABTAHkAcwB0AGUAbQAuAEIAbwBvAGwAZQBhAG4ALAAgAG0AcwBjAG8AcgBsAGkAYgArAQUAAABWAGEAbAB1AGUAAQcFBwUHBQ== 97 | publicVariablesUnityEngineObjects: [] 98 | publicVariablesSerializationDataFormat: 0 99 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Scripts/DFUNC_URC_Frequency.cs: -------------------------------------------------------------------------------- 1 | using SaccFlightAndVehicles; 2 | using TMPro; 3 | using UdonSharp; 4 | using UnityEngine; 5 | using VRC.SDKBase; 6 | 7 | namespace URC 8 | { 9 | [UdonBehaviourSyncMode(BehaviourSyncMode.None)] 10 | public class DFUNC_URC_Frequency : UdonSharpBehaviour 11 | { 12 | public GameObject Dial_Funcon; 13 | public KeyCode desktopDecrementKey = KeyCode.Comma; 14 | public KeyCode desktopIncrementKey = KeyCode.Period; 15 | public float controllerSensitivity = 100; 16 | public TextMeshPro frequencyText; 17 | public string frequencyTextFormat = "COM 000.000 '[,.]'"; 18 | private float minFrequency, maxFrequency, frequencyStep; 19 | 20 | public Transform debugTransform; 21 | 22 | private float Frequency 23 | { 24 | get => transmitter.Frequency; 25 | set 26 | { 27 | frequency = value; 28 | transmitter._SetFrequency(value); 29 | receiver.Frequency = value; 30 | frequencyText.text = value.ToString(frequencyTextFormat); 31 | if (switchFunctionSound) switchFunctionSound.Play(); 32 | } 33 | } 34 | 35 | private string triggerAxis; 36 | private VRCPlayerApi.TrackingDataType trackingTarget; 37 | public void DFUNC_LeftDial() 38 | { 39 | triggerAxis = "Oculus_CrossPlatform_PrimaryIndexTrigger"; 40 | trackingTarget = VRCPlayerApi.TrackingDataType.LeftHand; 41 | } 42 | public void DFUNC_RightDial() 43 | { 44 | triggerAxis = "Oculus_CrossPlatform_SecondaryIndexTrigger"; 45 | trackingTarget = VRCPlayerApi.TrackingDataType.RightHand; 46 | } 47 | 48 | private AudioSource switchFunctionSound; 49 | private Transform controlsRoot; 50 | private Receiver receiver; 51 | private Transmitter transmitter; 52 | public void SFEXT_L_EntityStart() 53 | { 54 | var entity = GetComponentInParent(); 55 | switchFunctionSound = entity.SwitchFunctionSound; 56 | 57 | var airVehicle = entity.GetExtention(GetUdonTypeName()); 58 | 59 | controlsRoot = (Transform)airVehicle.GetProgramVariable("ControlsRoot") ?? entity.transform; 60 | 61 | var receiverDFunc = transform.parent.GetComponentInChildren(true); 62 | receiver = receiverDFunc.receiver; 63 | 64 | var transmitterDFunc = transform.parent.GetComponentInChildren(true); 65 | transmitter = transmitterDFunc.transmitter; 66 | 67 | if (!frequencyText && Dial_Funcon) 68 | { 69 | frequencyText = Dial_Funcon.transform.parent.GetComponent(); 70 | } 71 | } 72 | public void SFEXTP_L_EntityStart() => SFEXT_L_EntityStart(); 73 | 74 | private float frequency; 75 | public void SFEXT_O_PilotEnter() 76 | { 77 | var urc = transmitter.urc; 78 | minFrequency = urc.minFrequency; 79 | maxFrequency = urc.maxFrequency; 80 | frequencyStep = urc.frequencyStep; 81 | 82 | Frequency = transmitter.Frequency; 83 | if (!Networking.LocalPlayer.IsUserInVR()) DFUNC_Selected(); 84 | } 85 | public void SFEXT_O_PilotExit() 86 | { 87 | DFUNC_Deselected(); 88 | } 89 | public void SFEXTP_O_UserEnter() => SFEXT_O_PilotEnter(); 90 | public void SFEXTP_O_UserExit() => SFEXT_O_PilotExit(); 91 | 92 | public void DFUNC_Selected() 93 | { 94 | gameObject.SetActive(true); 95 | prevTriggered = false; 96 | } 97 | public void DFUNC_Deselected() 98 | { 99 | gameObject.SetActive(false); 100 | } 101 | 102 | private float inputOrigin; 103 | private bool prevTriggered; 104 | private void LateUpdate() 105 | { 106 | if (Input.GetKeyDown(desktopDecrementKey)) Frequency = Mathf.Max(frequency - frequencyStep, minFrequency); 107 | else if (Input.GetKeyDown(desktopIncrementKey)) Frequency = Mathf.Min(frequency + frequencyStep, maxFrequency); 108 | else 109 | { 110 | var trigger = Input.GetAxisRaw(triggerAxis) > 0.75f || debugTransform != null; 111 | if (trigger) 112 | { 113 | var inputPos = controlsRoot.InverseTransformPoint(debugTransform ? debugTransform.position : Networking.LocalPlayer.GetTrackingData(trackingTarget).position).z; 114 | if (!prevTriggered) 115 | { 116 | inputOrigin = inputPos; 117 | } 118 | else 119 | { 120 | var diff = (inputPos - inputOrigin) * controllerSensitivity * frequencyStep; 121 | if (Mathf.Abs(diff) > frequencyStep) 122 | { 123 | Frequency = Mathf.Clamp(Mathf.Floor((frequency + diff) / frequencyStep) * frequencyStep, minFrequency, maxFrequency); 124 | inputOrigin = inputPos; 125 | } 126 | } 127 | } 128 | prevTriggered = trigger; 129 | } 130 | } 131 | } 132 | } 133 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/MFD_URC_PTT.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &9055786304886084778 4 | PrefabInstance: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: 10 | - target: {fileID: 4510357694320213166, guid: ff4be531351b83549807def10f60a1d0, 11 | type: 3} 12 | propertyPath: m_IsActive 13 | value: 1 14 | objectReference: {fileID: 0} 15 | - target: {fileID: 5970778324219213549, guid: ff4be531351b83549807def10f60a1d0, 16 | type: 3} 17 | propertyPath: m_Materials.Array.data[0] 18 | value: 19 | objectReference: {fileID: 2100000, guid: 0d1e4b8cb7160ca4ca1b7aee5c8f2522, type: 2} 20 | - target: {fileID: 6471758758036828504, guid: ff4be531351b83549807def10f60a1d0, 21 | type: 3} 22 | propertyPath: m_Name 23 | value: MFD_URC_PTT 24 | objectReference: {fileID: 0} 25 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 26 | type: 3} 27 | propertyPath: m_Pivot.x 28 | value: 0.5 29 | objectReference: {fileID: 0} 30 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 31 | type: 3} 32 | propertyPath: m_Pivot.y 33 | value: 0.5 34 | objectReference: {fileID: 0} 35 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 36 | type: 3} 37 | propertyPath: m_RootOrder 38 | value: 0 39 | objectReference: {fileID: 0} 40 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 41 | type: 3} 42 | propertyPath: m_AnchorMax.x 43 | value: 0.5 44 | objectReference: {fileID: 0} 45 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 46 | type: 3} 47 | propertyPath: m_AnchorMax.y 48 | value: 0.5 49 | objectReference: {fileID: 0} 50 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 51 | type: 3} 52 | propertyPath: m_AnchorMin.x 53 | value: 0.5 54 | objectReference: {fileID: 0} 55 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 56 | type: 3} 57 | propertyPath: m_AnchorMin.y 58 | value: 0.5 59 | objectReference: {fileID: 0} 60 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 61 | type: 3} 62 | propertyPath: m_SizeDelta.x 63 | value: 0.1 64 | objectReference: {fileID: 0} 65 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 66 | type: 3} 67 | propertyPath: m_SizeDelta.y 68 | value: 0.1 69 | objectReference: {fileID: 0} 70 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 71 | type: 3} 72 | propertyPath: m_LocalPosition.x 73 | value: 0 74 | objectReference: {fileID: 0} 75 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 76 | type: 3} 77 | propertyPath: m_LocalPosition.y 78 | value: 0 79 | objectReference: {fileID: 0} 80 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 81 | type: 3} 82 | propertyPath: m_LocalPosition.z 83 | value: 0 84 | objectReference: {fileID: 0} 85 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 86 | type: 3} 87 | propertyPath: m_LocalRotation.w 88 | value: 1 89 | objectReference: {fileID: 0} 90 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 91 | type: 3} 92 | propertyPath: m_LocalRotation.x 93 | value: -0 94 | objectReference: {fileID: 0} 95 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 96 | type: 3} 97 | propertyPath: m_LocalRotation.y 98 | value: -0 99 | objectReference: {fileID: 0} 100 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 101 | type: 3} 102 | propertyPath: m_LocalRotation.z 103 | value: -0 104 | objectReference: {fileID: 0} 105 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 106 | type: 3} 107 | propertyPath: m_AnchoredPosition.x 108 | value: 0 109 | objectReference: {fileID: 0} 110 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 111 | type: 3} 112 | propertyPath: m_AnchoredPosition.y 113 | value: 0 114 | objectReference: {fileID: 0} 115 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 116 | type: 3} 117 | propertyPath: m_LocalEulerAnglesHint.x 118 | value: 0 119 | objectReference: {fileID: 0} 120 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 121 | type: 3} 122 | propertyPath: m_LocalEulerAnglesHint.y 123 | value: 0 124 | objectReference: {fileID: 0} 125 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 126 | type: 3} 127 | propertyPath: m_LocalEulerAnglesHint.z 128 | value: 0 129 | objectReference: {fileID: 0} 130 | - target: {fileID: 8690701860167875444, guid: ff4be531351b83549807def10f60a1d0, 131 | type: 3} 132 | propertyPath: m_text 133 | value: 'COM PTT 134 | 135 | [P]' 136 | objectReference: {fileID: 0} 137 | m_RemovedComponents: [] 138 | m_SourcePrefab: {fileID: 100100000, guid: ff4be531351b83549807def10f60a1d0, type: 3} 139 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/MFD_URC_RX.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &9055786304886084778 4 | PrefabInstance: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: 10 | - target: {fileID: 4510357694320213166, guid: ff4be531351b83549807def10f60a1d0, 11 | type: 3} 12 | propertyPath: m_IsActive 13 | value: 1 14 | objectReference: {fileID: 0} 15 | - target: {fileID: 5970778324219213549, guid: ff4be531351b83549807def10f60a1d0, 16 | type: 3} 17 | propertyPath: m_Materials.Array.data[0] 18 | value: 19 | objectReference: {fileID: 2100000, guid: 0d1e4b8cb7160ca4ca1b7aee5c8f2522, type: 2} 20 | - target: {fileID: 6471758758036828504, guid: ff4be531351b83549807def10f60a1d0, 21 | type: 3} 22 | propertyPath: m_Name 23 | value: MFD_URC_RX 24 | objectReference: {fileID: 0} 25 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 26 | type: 3} 27 | propertyPath: m_Pivot.x 28 | value: 0.5 29 | objectReference: {fileID: 0} 30 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 31 | type: 3} 32 | propertyPath: m_Pivot.y 33 | value: 0.5 34 | objectReference: {fileID: 0} 35 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 36 | type: 3} 37 | propertyPath: m_RootOrder 38 | value: 0 39 | objectReference: {fileID: 0} 40 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 41 | type: 3} 42 | propertyPath: m_AnchorMax.x 43 | value: 0.5 44 | objectReference: {fileID: 0} 45 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 46 | type: 3} 47 | propertyPath: m_AnchorMax.y 48 | value: 0.5 49 | objectReference: {fileID: 0} 50 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 51 | type: 3} 52 | propertyPath: m_AnchorMin.x 53 | value: 0.5 54 | objectReference: {fileID: 0} 55 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 56 | type: 3} 57 | propertyPath: m_AnchorMin.y 58 | value: 0.5 59 | objectReference: {fileID: 0} 60 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 61 | type: 3} 62 | propertyPath: m_SizeDelta.x 63 | value: 0.1 64 | objectReference: {fileID: 0} 65 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 66 | type: 3} 67 | propertyPath: m_SizeDelta.y 68 | value: 0.1 69 | objectReference: {fileID: 0} 70 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 71 | type: 3} 72 | propertyPath: m_LocalPosition.x 73 | value: 0 74 | objectReference: {fileID: 0} 75 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 76 | type: 3} 77 | propertyPath: m_LocalPosition.y 78 | value: 0 79 | objectReference: {fileID: 0} 80 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 81 | type: 3} 82 | propertyPath: m_LocalPosition.z 83 | value: 0 84 | objectReference: {fileID: 0} 85 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 86 | type: 3} 87 | propertyPath: m_LocalRotation.w 88 | value: 1 89 | objectReference: {fileID: 0} 90 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 91 | type: 3} 92 | propertyPath: m_LocalRotation.x 93 | value: -0 94 | objectReference: {fileID: 0} 95 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 96 | type: 3} 97 | propertyPath: m_LocalRotation.y 98 | value: -0 99 | objectReference: {fileID: 0} 100 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 101 | type: 3} 102 | propertyPath: m_LocalRotation.z 103 | value: -0 104 | objectReference: {fileID: 0} 105 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 106 | type: 3} 107 | propertyPath: m_AnchoredPosition.x 108 | value: 0 109 | objectReference: {fileID: 0} 110 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 111 | type: 3} 112 | propertyPath: m_AnchoredPosition.y 113 | value: 0 114 | objectReference: {fileID: 0} 115 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 116 | type: 3} 117 | propertyPath: m_LocalEulerAnglesHint.x 118 | value: 0 119 | objectReference: {fileID: 0} 120 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 121 | type: 3} 122 | propertyPath: m_LocalEulerAnglesHint.y 123 | value: 0 124 | objectReference: {fileID: 0} 125 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 126 | type: 3} 127 | propertyPath: m_LocalEulerAnglesHint.z 128 | value: 0 129 | objectReference: {fileID: 0} 130 | - target: {fileID: 8690701860167875444, guid: ff4be531351b83549807def10f60a1d0, 131 | type: 3} 132 | propertyPath: m_text 133 | value: 'COM 134 | 135 | RX 136 | 137 | [L]' 138 | objectReference: {fileID: 0} 139 | m_RemovedComponents: [] 140 | m_SourcePrefab: {fileID: 100100000, guid: ff4be531351b83549807def10f60a1d0, type: 3} 141 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/MFD_URC_Frequency.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &9055786304886084778 4 | PrefabInstance: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: 10 | - target: {fileID: 5970778324219213549, guid: ff4be531351b83549807def10f60a1d0, 11 | type: 3} 12 | propertyPath: m_Materials.Array.data[0] 13 | value: 14 | objectReference: {fileID: 2100000, guid: 0d1e4b8cb7160ca4ca1b7aee5c8f2522, type: 2} 15 | - target: {fileID: 6471758758036828504, guid: ff4be531351b83549807def10f60a1d0, 16 | type: 3} 17 | propertyPath: m_Name 18 | value: MFD_URC_Frequency 19 | objectReference: {fileID: 0} 20 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 21 | type: 3} 22 | propertyPath: m_Pivot.x 23 | value: 0.5 24 | objectReference: {fileID: 0} 25 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 26 | type: 3} 27 | propertyPath: m_Pivot.y 28 | value: 0.5 29 | objectReference: {fileID: 0} 30 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 31 | type: 3} 32 | propertyPath: m_RootOrder 33 | value: 0 34 | objectReference: {fileID: 0} 35 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 36 | type: 3} 37 | propertyPath: m_AnchorMax.x 38 | value: 0.5 39 | objectReference: {fileID: 0} 40 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 41 | type: 3} 42 | propertyPath: m_AnchorMax.y 43 | value: 0.5 44 | objectReference: {fileID: 0} 45 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 46 | type: 3} 47 | propertyPath: m_AnchorMin.x 48 | value: 0.5 49 | objectReference: {fileID: 0} 50 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 51 | type: 3} 52 | propertyPath: m_AnchorMin.y 53 | value: 0.5 54 | objectReference: {fileID: 0} 55 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 56 | type: 3} 57 | propertyPath: m_SizeDelta.x 58 | value: 0.1 59 | objectReference: {fileID: 0} 60 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 61 | type: 3} 62 | propertyPath: m_SizeDelta.y 63 | value: 0.1 64 | objectReference: {fileID: 0} 65 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 66 | type: 3} 67 | propertyPath: m_LocalPosition.x 68 | value: 0 69 | objectReference: {fileID: 0} 70 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 71 | type: 3} 72 | propertyPath: m_LocalPosition.y 73 | value: 0 74 | objectReference: {fileID: 0} 75 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 76 | type: 3} 77 | propertyPath: m_LocalPosition.z 78 | value: 0 79 | objectReference: {fileID: 0} 80 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 81 | type: 3} 82 | propertyPath: m_LocalRotation.w 83 | value: 1 84 | objectReference: {fileID: 0} 85 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 86 | type: 3} 87 | propertyPath: m_LocalRotation.x 88 | value: -0 89 | objectReference: {fileID: 0} 90 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 91 | type: 3} 92 | propertyPath: m_LocalRotation.y 93 | value: -0 94 | objectReference: {fileID: 0} 95 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 96 | type: 3} 97 | propertyPath: m_LocalRotation.z 98 | value: -0 99 | objectReference: {fileID: 0} 100 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 101 | type: 3} 102 | propertyPath: m_AnchoredPosition.x 103 | value: 0 104 | objectReference: {fileID: 0} 105 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 106 | type: 3} 107 | propertyPath: m_AnchoredPosition.y 108 | value: 0 109 | objectReference: {fileID: 0} 110 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 111 | type: 3} 112 | propertyPath: m_LocalEulerAnglesHint.x 113 | value: 0 114 | objectReference: {fileID: 0} 115 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 116 | type: 3} 117 | propertyPath: m_LocalEulerAnglesHint.y 118 | value: 0 119 | objectReference: {fileID: 0} 120 | - target: {fileID: 8370939009977533791, guid: ff4be531351b83549807def10f60a1d0, 121 | type: 3} 122 | propertyPath: m_LocalEulerAnglesHint.z 123 | value: 0 124 | objectReference: {fileID: 0} 125 | - target: {fileID: 8690701860167875444, guid: ff4be531351b83549807def10f60a1d0, 126 | type: 3} 127 | propertyPath: m_text 128 | value: 'COM 129 | 130 | 000.000 131 | 132 | [,/.]' 133 | objectReference: {fileID: 0} 134 | - target: {fileID: 8690701860167875444, guid: ff4be531351b83549807def10f60a1d0, 135 | type: 3} 136 | propertyPath: m_fontSize 137 | value: 0.22 138 | objectReference: {fileID: 0} 139 | - target: {fileID: 8690701860167875444, guid: ff4be531351b83549807def10f60a1d0, 140 | type: 3} 141 | propertyPath: m_fontSizeBase 142 | value: 0.22 143 | objectReference: {fileID: 0} 144 | m_RemovedComponents: [] 145 | m_SourcePrefab: {fileID: 100100000, guid: ff4be531351b83549807def10f60a1d0, type: 3} 146 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/TransceiverEnabledTrigger.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3} 13 | m_Name: TransceiverEnabledTrigger 14 | m_EditorClassIdentifier: 15 | udonAssembly: 16 | assemblyError: 17 | sourceCsScript: {fileID: 11500000, guid: 70cf578a914384f4889c3be55c2c16c2, type: 3} 18 | scriptVersion: 2 19 | compiledVersion: 2 20 | behaviourSyncMode: 1 21 | hasInteractEvent: 0 22 | scriptID: -498475118331869901 23 | serializationData: 24 | SerializedBytes: 25 | ReferencedUnityObjects: [] 26 | SerializedBytesString: 27 | Prefab: {fileID: 0} 28 | PrefabModificationsReferencedUnityObjects: [] 29 | PrefabModifications: [] 30 | SerializationNodes: 31 | - Name: fieldDefinitions 32 | Entry: 7 33 | Data: 0|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[UdonSharp.Compiler.FieldDefinition, 34 | UdonSharp.Editor]], mscorlib 35 | - Name: comparer 36 | Entry: 7 37 | Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.String, 38 | mscorlib]], mscorlib 39 | - Name: 40 | Entry: 8 41 | Data: 42 | - Name: 43 | Entry: 12 44 | Data: 3 45 | - Name: 46 | Entry: 7 47 | Data: 48 | - Name: $k 49 | Entry: 1 50 | Data: transceiver 51 | - Name: $v 52 | Entry: 7 53 | Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor 54 | - Name: k__BackingField 55 | Entry: 1 56 | Data: transceiver 57 | - Name: k__BackingField 58 | Entry: 7 59 | Data: 3|System.RuntimeType, mscorlib 60 | - Name: 61 | Entry: 1 62 | Data: URC.Transceiver, UdonRadioCommunication.Runtime 63 | - Name: 64 | Entry: 8 65 | Data: 66 | - Name: k__BackingField 67 | Entry: 7 68 | Data: 4|System.RuntimeType, mscorlib 69 | - Name: 70 | Entry: 1 71 | Data: VRC.Udon.UdonBehaviour, VRC.Udon 72 | - Name: 73 | Entry: 8 74 | Data: 75 | - Name: k__BackingField 76 | Entry: 7 77 | Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib 78 | - Name: 79 | Entry: 6 80 | Data: 81 | - Name: 82 | Entry: 8 83 | Data: 84 | - Name: k__BackingField 85 | Entry: 5 86 | Data: true 87 | - Name: _fieldAttributes 88 | Entry: 7 89 | Data: 5|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib 90 | - Name: 91 | Entry: 12 92 | Data: 0 93 | - Name: 94 | Entry: 13 95 | Data: 96 | - Name: 97 | Entry: 8 98 | Data: 99 | - Name: 100 | Entry: 8 101 | Data: 102 | - Name: 103 | Entry: 8 104 | Data: 105 | - Name: 106 | Entry: 7 107 | Data: 108 | - Name: $k 109 | Entry: 1 110 | Data: defaultReceive 111 | - Name: $v 112 | Entry: 7 113 | Data: 6|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor 114 | - Name: k__BackingField 115 | Entry: 1 116 | Data: defaultReceive 117 | - Name: k__BackingField 118 | Entry: 7 119 | Data: 7|System.RuntimeType, mscorlib 120 | - Name: 121 | Entry: 1 122 | Data: System.Boolean, mscorlib 123 | - Name: 124 | Entry: 8 125 | Data: 126 | - Name: k__BackingField 127 | Entry: 9 128 | Data: 7 129 | - Name: k__BackingField 130 | Entry: 7 131 | Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib 132 | - Name: 133 | Entry: 6 134 | Data: 135 | - Name: 136 | Entry: 8 137 | Data: 138 | - Name: k__BackingField 139 | Entry: 5 140 | Data: true 141 | - Name: _fieldAttributes 142 | Entry: 7 143 | Data: 8|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib 144 | - Name: 145 | Entry: 12 146 | Data: 0 147 | - Name: 148 | Entry: 13 149 | Data: 150 | - Name: 151 | Entry: 8 152 | Data: 153 | - Name: 154 | Entry: 8 155 | Data: 156 | - Name: 157 | Entry: 8 158 | Data: 159 | - Name: 160 | Entry: 7 161 | Data: 162 | - Name: $k 163 | Entry: 1 164 | Data: defaultTransmit 165 | - Name: $v 166 | Entry: 7 167 | Data: 9|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor 168 | - Name: k__BackingField 169 | Entry: 1 170 | Data: defaultTransmit 171 | - Name: k__BackingField 172 | Entry: 9 173 | Data: 7 174 | - Name: k__BackingField 175 | Entry: 9 176 | Data: 7 177 | - Name: k__BackingField 178 | Entry: 7 179 | Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib 180 | - Name: 181 | Entry: 6 182 | Data: 183 | - Name: 184 | Entry: 8 185 | Data: 186 | - Name: k__BackingField 187 | Entry: 5 188 | Data: true 189 | - Name: _fieldAttributes 190 | Entry: 7 191 | Data: 10|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib 192 | - Name: 193 | Entry: 12 194 | Data: 0 195 | - Name: 196 | Entry: 13 197 | Data: 198 | - Name: 199 | Entry: 8 200 | Data: 201 | - Name: 202 | Entry: 8 203 | Data: 204 | - Name: 205 | Entry: 8 206 | Data: 207 | - Name: 208 | Entry: 13 209 | Data: 210 | - Name: 211 | Entry: 8 212 | Data: 213 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Transceiver.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using JetBrains.Annotations; 4 | using TMPro; 5 | using UdonSharp; 6 | using UnityEngine; 7 | using VRC.SDK3.Components; 8 | using VRC.SDKBase; 9 | 10 | namespace URC 11 | { 12 | [DefaultExecutionOrder(1000)] 13 | [UdonBehaviourSyncMode(BehaviourSyncMode.Manual)] 14 | public class Transceiver : UdonSharpBehaviour 15 | { 16 | public bool exclusive = true; 17 | [NotNull] public Receiver receiver; 18 | [NotNull] public Transmitter transmitter; 19 | 20 | [Header("Optional")] 21 | public TextMeshPro frequencyText; 22 | public string frequencyTextFormat = "000.000"; 23 | [Tooltip("Drives bool parameters \"PowerOn\" and \"Talking\"")] public Animator[] animators = { }; 24 | 25 | [NonSerialized] public UdonRadioCommunication urc; 26 | [NonSerialized] public float minFrequency; 27 | [NonSerialized] public float maxFrequency; 28 | [NonSerialized] public float frequencyStep; 29 | [NonSerialized] public float fastFrequencyStep; 30 | 31 | [UdonSynced][FieldChangeCallback(nameof(Frequency))] private float _frequency; 32 | public float Frequency 33 | { 34 | set 35 | { 36 | if (Networking.IsOwner(gameObject)) 37 | { 38 | transmitter._SetFrequency(value); 39 | } 40 | receiver.Frequency = value; 41 | 42 | _frequency = value; 43 | _UpdateFrequencyText(); 44 | } 45 | get => _frequency; 46 | } 47 | 48 | [UdonSynced] 49 | [FieldChangeCallback(nameof(Receive))] 50 | private bool _receive; 51 | private bool Receive 52 | { 53 | set 54 | { 55 | if (Networking.IsOwner(gameObject)) receiver.Active = value; 56 | _receive = value; 57 | SetBool("PowerOn", value); 58 | } 59 | get => _receive; 60 | } 61 | 62 | [UdonSynced][FieldChangeCallback(nameof(Transmit))] private bool _transmit; 63 | private bool Transmit 64 | { 65 | set 66 | { 67 | if (Networking.IsOwner(gameObject)) 68 | { 69 | transmitter._SetActive(value); 70 | if (exclusive && Receive) receiver.Active = !value; 71 | } 72 | SetBool("Talking", value); 73 | _transmit = value; 74 | } 75 | get => _transmit; 76 | } 77 | 78 | private void SetBool(string name, bool value) 79 | { 80 | if (animators == null) return; 81 | foreach (var animator in animators) 82 | { 83 | if (animator == null) continue; 84 | animator.SetBool(name, value); 85 | } 86 | } 87 | 88 | private void Start() 89 | { 90 | var pickup = (VRCPickup)GetComponent(typeof(VRCPickup)); 91 | if (pickup != null) pickup.AutoHold = VRC_Pickup.AutoHoldMode.Yes; 92 | 93 | Receive = false; 94 | Transmit = false; 95 | } 96 | 97 | public void _Initialize(UdonRadioCommunication urc) 98 | { 99 | this.urc = urc; 100 | 101 | minFrequency = urc.minFrequency; 102 | maxFrequency = urc.maxFrequency; 103 | frequencyStep = urc.frequencyStep; 104 | fastFrequencyStep = urc.fastFrequencyStep; 105 | 106 | if (Networking.IsOwner(gameObject)) 107 | { 108 | Frequency = urc.defaultFrequency; 109 | RequestSerialization(); 110 | } 111 | } 112 | 113 | public void _TakeOwnership() 114 | { 115 | if (Networking.IsOwner(gameObject)) return; 116 | Networking.SetOwner(Networking.LocalPlayer, gameObject); 117 | } 118 | 119 | public void _SetTransmit(bool value) 120 | { 121 | _TakeOwnership(); 122 | Transmit = value; 123 | RequestSerialization(); 124 | } 125 | public bool _GetTransmit() => Transmit; 126 | public void _StartTransmit() => _SetTransmit(true); 127 | public void _StopTransmit() => _SetTransmit(false); 128 | public void _ToggleTransmit() => _SetTransmit(!Transmit); 129 | 130 | public void _SetReceive(bool value) 131 | { 132 | _TakeOwnership(); 133 | Receive = value; 134 | RequestSerialization(); 135 | } 136 | public bool _GetReceive() => Receive; 137 | public void _StartReceive() => _SetReceive(true); 138 | public void _StopReceive() => _SetReceive(false); 139 | public void _ToggleReceive() => _SetReceive(!Receive); 140 | 141 | public void _SetFrequency(float f) 142 | { 143 | _TakeOwnership(); 144 | Frequency = f > maxFrequency ? minFrequency : (f < minFrequency ? maxFrequency : f); 145 | RequestSerialization(); 146 | } 147 | public void _IncrementFrequency() => _SetFrequency(Frequency + frequencyStep); 148 | public void _DecrementFrequency() => _SetFrequency(Frequency - frequencyStep); 149 | public void _FastIncrementFrequency() => _SetFrequency(Frequency + fastFrequencyStep); 150 | public void _FastDecrementFrequency() => _SetFrequency(Frequency - fastFrequencyStep); 151 | 152 | public void _SetActive(bool value) 153 | { 154 | _TakeOwnership(); 155 | Transmit = value; 156 | Receive = value; 157 | RequestSerialization(); 158 | } 159 | public void _Activate() => _SetActive(true); 160 | public void _Deactivate() => _SetActive(false); 161 | public void _ToggleActive() => _SetActive(!(Transmit || Receive)); 162 | 163 | public void _UpdateFrequencyText() 164 | { 165 | if (frequencyText != null) frequencyText.text = Frequency.ToString(frequencyTextFormat); 166 | } 167 | } 168 | } 169 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/Scripts/Utilities/TransceiverPickupTrigger.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3} 13 | m_Name: TransceiverPickupTrigger 14 | m_EditorClassIdentifier: 15 | udonAssembly: 16 | assemblyError: 17 | sourceCsScript: {fileID: 11500000, guid: c064020e5af881f4282ca960ad04823c, type: 3} 18 | scriptVersion: 2 19 | compiledVersion: 2 20 | behaviourSyncMode: 1 21 | hasInteractEvent: 0 22 | scriptID: 3059754106004291690 23 | serializationData: 24 | SerializedBytes: 25 | ReferencedUnityObjects: [] 26 | SerializedBytesString: 27 | Prefab: {fileID: 0} 28 | PrefabModificationsReferencedUnityObjects: [] 29 | PrefabModifications: [] 30 | SerializationNodes: 31 | - Name: fieldDefinitions 32 | Entry: 7 33 | Data: 0|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[UdonSharp.Compiler.FieldDefinition, 34 | UdonSharp.Editor]], mscorlib 35 | - Name: comparer 36 | Entry: 7 37 | Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.String, 38 | mscorlib]], mscorlib 39 | - Name: 40 | Entry: 8 41 | Data: 42 | - Name: 43 | Entry: 12 44 | Data: 4 45 | - Name: 46 | Entry: 7 47 | Data: 48 | - Name: $k 49 | Entry: 1 50 | Data: trasnceiver 51 | - Name: $v 52 | Entry: 7 53 | Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor 54 | - Name: k__BackingField 55 | Entry: 1 56 | Data: trasnceiver 57 | - Name: k__BackingField 58 | Entry: 7 59 | Data: 3|System.RuntimeType, mscorlib 60 | - Name: 61 | Entry: 1 62 | Data: URC.Transceiver, UdonRadioCommunication.Runtime 63 | - Name: 64 | Entry: 8 65 | Data: 66 | - Name: k__BackingField 67 | Entry: 7 68 | Data: 4|System.RuntimeType, mscorlib 69 | - Name: 70 | Entry: 1 71 | Data: VRC.Udon.UdonBehaviour, VRC.Udon 72 | - Name: 73 | Entry: 8 74 | Data: 75 | - Name: k__BackingField 76 | Entry: 7 77 | Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib 78 | - Name: 79 | Entry: 6 80 | Data: 81 | - Name: 82 | Entry: 8 83 | Data: 84 | - Name: k__BackingField 85 | Entry: 5 86 | Data: true 87 | - Name: _fieldAttributes 88 | Entry: 7 89 | Data: 5|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib 90 | - Name: 91 | Entry: 12 92 | Data: 0 93 | - Name: 94 | Entry: 13 95 | Data: 96 | - Name: 97 | Entry: 8 98 | Data: 99 | - Name: 100 | Entry: 8 101 | Data: 102 | - Name: 103 | Entry: 8 104 | Data: 105 | - Name: 106 | Entry: 7 107 | Data: 108 | - Name: $k 109 | Entry: 1 110 | Data: pickupOnly 111 | - Name: $v 112 | Entry: 7 113 | Data: 6|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor 114 | - Name: k__BackingField 115 | Entry: 1 116 | Data: pickupOnly 117 | - Name: k__BackingField 118 | Entry: 7 119 | Data: 7|System.RuntimeType, mscorlib 120 | - Name: 121 | Entry: 1 122 | Data: UnityEngine.GameObject, UnityEngine.CoreModule 123 | - Name: 124 | Entry: 8 125 | Data: 126 | - Name: k__BackingField 127 | Entry: 9 128 | Data: 7 129 | - Name: k__BackingField 130 | Entry: 7 131 | Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib 132 | - Name: 133 | Entry: 6 134 | Data: 135 | - Name: 136 | Entry: 8 137 | Data: 138 | - Name: k__BackingField 139 | Entry: 5 140 | Data: true 141 | - Name: _fieldAttributes 142 | Entry: 7 143 | Data: 8|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib 144 | - Name: 145 | Entry: 12 146 | Data: 0 147 | - Name: 148 | Entry: 13 149 | Data: 150 | - Name: 151 | Entry: 8 152 | Data: 153 | - Name: 154 | Entry: 8 155 | Data: 156 | - Name: 157 | Entry: 8 158 | Data: 159 | - Name: 160 | Entry: 7 161 | Data: 162 | - Name: $k 163 | Entry: 1 164 | Data: keepPosition 165 | - Name: $v 166 | Entry: 7 167 | Data: 9|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor 168 | - Name: k__BackingField 169 | Entry: 1 170 | Data: keepPosition 171 | - Name: k__BackingField 172 | Entry: 7 173 | Data: 10|System.RuntimeType, mscorlib 174 | - Name: 175 | Entry: 1 176 | Data: System.Boolean, mscorlib 177 | - Name: 178 | Entry: 8 179 | Data: 180 | - Name: k__BackingField 181 | Entry: 9 182 | Data: 10 183 | - Name: k__BackingField 184 | Entry: 7 185 | Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib 186 | - Name: 187 | Entry: 6 188 | Data: 189 | - Name: 190 | Entry: 8 191 | Data: 192 | - Name: k__BackingField 193 | Entry: 5 194 | Data: true 195 | - Name: _fieldAttributes 196 | Entry: 7 197 | Data: 11|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib 198 | - Name: 199 | Entry: 12 200 | Data: 0 201 | - Name: 202 | Entry: 13 203 | Data: 204 | - Name: 205 | Entry: 8 206 | Data: 207 | - Name: 208 | Entry: 8 209 | Data: 210 | - Name: 211 | Entry: 8 212 | Data: 213 | - Name: 214 | Entry: 7 215 | Data: 216 | - Name: $k 217 | Entry: 1 218 | Data: initialPosition 219 | - Name: $v 220 | Entry: 7 221 | Data: 12|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor 222 | - Name: k__BackingField 223 | Entry: 1 224 | Data: initialPosition 225 | - Name: k__BackingField 226 | Entry: 7 227 | Data: 13|System.RuntimeType, mscorlib 228 | - Name: 229 | Entry: 1 230 | Data: UnityEngine.Vector3, UnityEngine.CoreModule 231 | - Name: 232 | Entry: 8 233 | Data: 234 | - Name: k__BackingField 235 | Entry: 9 236 | Data: 13 237 | - Name: k__BackingField 238 | Entry: 7 239 | Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib 240 | - Name: 241 | Entry: 6 242 | Data: 243 | - Name: 244 | Entry: 8 245 | Data: 246 | - Name: k__BackingField 247 | Entry: 5 248 | Data: false 249 | - Name: _fieldAttributes 250 | Entry: 7 251 | Data: 14|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib 252 | - Name: 253 | Entry: 12 254 | Data: 0 255 | - Name: 256 | Entry: 13 257 | Data: 258 | - Name: 259 | Entry: 8 260 | Data: 261 | - Name: 262 | Entry: 8 263 | Data: 264 | - Name: 265 | Entry: 8 266 | Data: 267 | - Name: 268 | Entry: 13 269 | Data: 270 | - Name: 271 | Entry: 8 272 | Data: 273 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/Transceiver.controller: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!91 &9100000 4 | AnimatorController: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: Transceiver 10 | serializedVersion: 5 11 | m_AnimatorParameters: 12 | - m_Name: PowerOn 13 | m_Type: 4 14 | m_DefaultFloat: 0 15 | m_DefaultInt: 0 16 | m_DefaultBool: 0 17 | m_Controller: {fileID: 0} 18 | - m_Name: Talking 19 | m_Type: 4 20 | m_DefaultFloat: 0 21 | m_DefaultInt: 0 22 | m_DefaultBool: 0 23 | m_Controller: {fileID: 0} 24 | m_AnimatorLayers: 25 | - serializedVersion: 5 26 | m_Name: Base Layer 27 | m_StateMachine: {fileID: 1107342753832856302} 28 | m_Mask: {fileID: 0} 29 | m_Motions: [] 30 | m_Behaviours: [] 31 | m_BlendingMode: 0 32 | m_SyncedLayerIndex: -1 33 | m_DefaultWeight: 0 34 | m_IKPass: 0 35 | m_SyncedLayerAffectsTiming: 0 36 | m_Controller: {fileID: 9100000} 37 | --- !u!1101 &1101290503854972738 38 | AnimatorStateTransition: 39 | m_ObjectHideFlags: 1 40 | m_CorrespondingSourceObject: {fileID: 0} 41 | m_PrefabInstance: {fileID: 0} 42 | m_PrefabAsset: {fileID: 0} 43 | m_Name: 44 | m_Conditions: 45 | - m_ConditionMode: 2 46 | m_ConditionEvent: Talking 47 | m_EventTreshold: 0 48 | m_DstStateMachine: {fileID: 0} 49 | m_DstState: {fileID: 1102226867869127366} 50 | m_Solo: 0 51 | m_Mute: 0 52 | m_IsExit: 0 53 | serializedVersion: 3 54 | m_TransitionDuration: 0.25 55 | m_TransitionOffset: 0 56 | m_ExitTime: 0.75 57 | m_HasExitTime: 0 58 | m_HasFixedDuration: 1 59 | m_InterruptionSource: 0 60 | m_OrderedInterruption: 1 61 | m_CanTransitionToSelf: 1 62 | --- !u!1101 &1101520811884277074 63 | AnimatorStateTransition: 64 | m_ObjectHideFlags: 1 65 | m_CorrespondingSourceObject: {fileID: 0} 66 | m_PrefabInstance: {fileID: 0} 67 | m_PrefabAsset: {fileID: 0} 68 | m_Name: 69 | m_Conditions: 70 | - m_ConditionMode: 1 71 | m_ConditionEvent: PowerOn 72 | m_EventTreshold: 0 73 | m_DstStateMachine: {fileID: 0} 74 | m_DstState: {fileID: 1102226867869127366} 75 | m_Solo: 0 76 | m_Mute: 0 77 | m_IsExit: 0 78 | serializedVersion: 3 79 | m_TransitionDuration: 0.25 80 | m_TransitionOffset: 0 81 | m_ExitTime: 0.75 82 | m_HasExitTime: 0 83 | m_HasFixedDuration: 1 84 | m_InterruptionSource: 0 85 | m_OrderedInterruption: 1 86 | m_CanTransitionToSelf: 1 87 | --- !u!1101 &1101619108576032096 88 | AnimatorStateTransition: 89 | m_ObjectHideFlags: 1 90 | m_CorrespondingSourceObject: {fileID: 0} 91 | m_PrefabInstance: {fileID: 0} 92 | m_PrefabAsset: {fileID: 0} 93 | m_Name: 94 | m_Conditions: 95 | - m_ConditionMode: 1 96 | m_ConditionEvent: Talking 97 | m_EventTreshold: 0 98 | m_DstStateMachine: {fileID: 0} 99 | m_DstState: {fileID: 1102338845925700828} 100 | m_Solo: 0 101 | m_Mute: 0 102 | m_IsExit: 0 103 | serializedVersion: 3 104 | m_TransitionDuration: 0.25 105 | m_TransitionOffset: 0 106 | m_ExitTime: 0.75 107 | m_HasExitTime: 0 108 | m_HasFixedDuration: 1 109 | m_InterruptionSource: 0 110 | m_OrderedInterruption: 1 111 | m_CanTransitionToSelf: 1 112 | --- !u!1101 &1101677318996813008 113 | AnimatorStateTransition: 114 | m_ObjectHideFlags: 1 115 | m_CorrespondingSourceObject: {fileID: 0} 116 | m_PrefabInstance: {fileID: 0} 117 | m_PrefabAsset: {fileID: 0} 118 | m_Name: 119 | m_Conditions: 120 | - m_ConditionMode: 2 121 | m_ConditionEvent: PowerOn 122 | m_EventTreshold: 0 123 | m_DstStateMachine: {fileID: 0} 124 | m_DstState: {fileID: 1102949244488383546} 125 | m_Solo: 0 126 | m_Mute: 0 127 | m_IsExit: 0 128 | serializedVersion: 3 129 | m_TransitionDuration: 0.25 130 | m_TransitionOffset: 0 131 | m_ExitTime: 0.75 132 | m_HasExitTime: 0 133 | m_HasFixedDuration: 1 134 | m_InterruptionSource: 0 135 | m_OrderedInterruption: 1 136 | m_CanTransitionToSelf: 0 137 | --- !u!1102 &1102226867869127366 138 | AnimatorState: 139 | serializedVersion: 5 140 | m_ObjectHideFlags: 1 141 | m_CorrespondingSourceObject: {fileID: 0} 142 | m_PrefabInstance: {fileID: 0} 143 | m_PrefabAsset: {fileID: 0} 144 | m_Name: PowerOn 145 | m_Speed: 1 146 | m_CycleOffset: 0 147 | m_Transitions: 148 | - {fileID: 1101619108576032096} 149 | m_StateMachineBehaviours: [] 150 | m_Position: {x: 50, y: 50, z: 0} 151 | m_IKOnFeet: 0 152 | m_WriteDefaultValues: 1 153 | m_Mirror: 0 154 | m_SpeedParameterActive: 0 155 | m_MirrorParameterActive: 0 156 | m_CycleOffsetParameterActive: 0 157 | m_TimeParameterActive: 0 158 | m_Motion: {fileID: 7400000, guid: 9cdb9911c891338439745cd395ca1d95, type: 2} 159 | m_Tag: 160 | m_SpeedParameter: 161 | m_MirrorParameter: 162 | m_CycleOffsetParameter: 163 | m_TimeParameter: 164 | --- !u!1102 &1102338845925700828 165 | AnimatorState: 166 | serializedVersion: 5 167 | m_ObjectHideFlags: 1 168 | m_CorrespondingSourceObject: {fileID: 0} 169 | m_PrefabInstance: {fileID: 0} 170 | m_PrefabAsset: {fileID: 0} 171 | m_Name: Talking 172 | m_Speed: 1 173 | m_CycleOffset: 0 174 | m_Transitions: 175 | - {fileID: 1101290503854972738} 176 | m_StateMachineBehaviours: [] 177 | m_Position: {x: 50, y: 50, z: 0} 178 | m_IKOnFeet: 0 179 | m_WriteDefaultValues: 1 180 | m_Mirror: 0 181 | m_SpeedParameterActive: 0 182 | m_MirrorParameterActive: 0 183 | m_CycleOffsetParameterActive: 0 184 | m_TimeParameterActive: 0 185 | m_Motion: {fileID: 7400000, guid: a3cfcb64cce0db248b0266684382e279, type: 2} 186 | m_Tag: 187 | m_SpeedParameter: 188 | m_MirrorParameter: 189 | m_CycleOffsetParameter: 190 | m_TimeParameter: 191 | --- !u!1102 &1102949244488383546 192 | AnimatorState: 193 | serializedVersion: 5 194 | m_ObjectHideFlags: 1 195 | m_CorrespondingSourceObject: {fileID: 0} 196 | m_PrefabInstance: {fileID: 0} 197 | m_PrefabAsset: {fileID: 0} 198 | m_Name: PowerOff 199 | m_Speed: 1 200 | m_CycleOffset: 0 201 | m_Transitions: 202 | - {fileID: 1101520811884277074} 203 | m_StateMachineBehaviours: [] 204 | m_Position: {x: 50, y: 50, z: 0} 205 | m_IKOnFeet: 0 206 | m_WriteDefaultValues: 1 207 | m_Mirror: 0 208 | m_SpeedParameterActive: 0 209 | m_MirrorParameterActive: 0 210 | m_CycleOffsetParameterActive: 0 211 | m_TimeParameterActive: 0 212 | m_Motion: {fileID: 7400000, guid: c361c048adfaa244ab7e91ba3bc882ad, type: 2} 213 | m_Tag: 214 | m_SpeedParameter: 215 | m_MirrorParameter: 216 | m_CycleOffsetParameter: 217 | m_TimeParameter: 218 | --- !u!1107 &1107342753832856302 219 | AnimatorStateMachine: 220 | serializedVersion: 5 221 | m_ObjectHideFlags: 1 222 | m_CorrespondingSourceObject: {fileID: 0} 223 | m_PrefabInstance: {fileID: 0} 224 | m_PrefabAsset: {fileID: 0} 225 | m_Name: Base Layer 226 | m_ChildStates: 227 | - serializedVersion: 1 228 | m_State: {fileID: 1102949244488383546} 229 | m_Position: {x: 240, y: -120, z: 0} 230 | - serializedVersion: 1 231 | m_State: {fileID: 1102226867869127366} 232 | m_Position: {x: 348, y: 12, z: 0} 233 | - serializedVersion: 1 234 | m_State: {fileID: 1102338845925700828} 235 | m_Position: {x: 240, y: 120, z: 0} 236 | m_ChildStateMachines: [] 237 | m_AnyStateTransitions: 238 | - {fileID: 1101677318996813008} 239 | m_EntryTransitions: [] 240 | m_StateMachineTransitions: {} 241 | m_StateMachineBehaviours: [] 242 | m_AnyStatePosition: {x: 48, y: 24, z: 0} 243 | m_EntryPosition: {x: 50, y: 120, z: 0} 244 | m_ExitPosition: {x: 800, y: 120, z: 0} 245 | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} 246 | m_DefaultState: {fileID: 1102949244488383546} 247 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications/SampleAssets/Animations/VehicleTransceiver.controller: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!91 &9100000 4 | AnimatorController: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: VehicleTransceiver 10 | serializedVersion: 5 11 | m_AnimatorParameters: 12 | - m_Name: PowerOn 13 | m_Type: 4 14 | m_DefaultFloat: 0 15 | m_DefaultInt: 0 16 | m_DefaultBool: 0 17 | m_Controller: {fileID: 9100000} 18 | - m_Name: Talking 19 | m_Type: 4 20 | m_DefaultFloat: 0 21 | m_DefaultInt: 0 22 | m_DefaultBool: 0 23 | m_Controller: {fileID: 9100000} 24 | m_AnimatorLayers: 25 | - serializedVersion: 5 26 | m_Name: Base Layer 27 | m_StateMachine: {fileID: 1107694678782946966} 28 | m_Mask: {fileID: 0} 29 | m_Motions: [] 30 | m_Behaviours: [] 31 | m_BlendingMode: 0 32 | m_SyncedLayerIndex: -1 33 | m_DefaultWeight: 0 34 | m_IKPass: 0 35 | m_SyncedLayerAffectsTiming: 0 36 | m_Controller: {fileID: 9100000} 37 | --- !u!1101 &1101236638803374086 38 | AnimatorStateTransition: 39 | m_ObjectHideFlags: 3 40 | m_CorrespondingSourceObject: {fileID: 0} 41 | m_PrefabInstance: {fileID: 0} 42 | m_PrefabAsset: {fileID: 0} 43 | m_Name: 44 | m_Conditions: 45 | - m_ConditionMode: 1 46 | m_ConditionEvent: PowerOn 47 | m_EventTreshold: 0 48 | m_DstStateMachine: {fileID: 0} 49 | m_DstState: {fileID: 1102509941415439560} 50 | m_Solo: 0 51 | m_Mute: 0 52 | m_IsExit: 0 53 | serializedVersion: 3 54 | m_TransitionDuration: 0.25 55 | m_TransitionOffset: 0 56 | m_ExitTime: 0.75 57 | m_HasExitTime: 0 58 | m_HasFixedDuration: 1 59 | m_InterruptionSource: 0 60 | m_OrderedInterruption: 1 61 | m_CanTransitionToSelf: 1 62 | --- !u!1101 &1101267646710361036 63 | AnimatorStateTransition: 64 | m_ObjectHideFlags: 3 65 | m_CorrespondingSourceObject: {fileID: 0} 66 | m_PrefabInstance: {fileID: 0} 67 | m_PrefabAsset: {fileID: 0} 68 | m_Name: 69 | m_Conditions: 70 | - m_ConditionMode: 2 71 | m_ConditionEvent: Talking 72 | m_EventTreshold: 0 73 | m_DstStateMachine: {fileID: 0} 74 | m_DstState: {fileID: 1102509941415439560} 75 | m_Solo: 0 76 | m_Mute: 0 77 | m_IsExit: 0 78 | serializedVersion: 3 79 | m_TransitionDuration: 0.25 80 | m_TransitionOffset: 0 81 | m_ExitTime: 0.75 82 | m_HasExitTime: 0 83 | m_HasFixedDuration: 1 84 | m_InterruptionSource: 0 85 | m_OrderedInterruption: 1 86 | m_CanTransitionToSelf: 1 87 | --- !u!1101 &1101479725246298752 88 | AnimatorStateTransition: 89 | m_ObjectHideFlags: 3 90 | m_CorrespondingSourceObject: {fileID: 0} 91 | m_PrefabInstance: {fileID: 0} 92 | m_PrefabAsset: {fileID: 0} 93 | m_Name: 94 | m_Conditions: 95 | - m_ConditionMode: 2 96 | m_ConditionEvent: PowerOn 97 | m_EventTreshold: 0 98 | m_DstStateMachine: {fileID: 0} 99 | m_DstState: {fileID: 1102197677484376202} 100 | m_Solo: 0 101 | m_Mute: 0 102 | m_IsExit: 0 103 | serializedVersion: 3 104 | m_TransitionDuration: 0.25 105 | m_TransitionOffset: 0 106 | m_ExitTime: 0.75 107 | m_HasExitTime: 0 108 | m_HasFixedDuration: 1 109 | m_InterruptionSource: 0 110 | m_OrderedInterruption: 1 111 | m_CanTransitionToSelf: 0 112 | --- !u!1101 &1101633948048438920 113 | AnimatorStateTransition: 114 | m_ObjectHideFlags: 3 115 | m_CorrespondingSourceObject: {fileID: 0} 116 | m_PrefabInstance: {fileID: 0} 117 | m_PrefabAsset: {fileID: 0} 118 | m_Name: 119 | m_Conditions: 120 | - m_ConditionMode: 1 121 | m_ConditionEvent: Talking 122 | m_EventTreshold: 0 123 | m_DstStateMachine: {fileID: 0} 124 | m_DstState: {fileID: 1102286514305486008} 125 | m_Solo: 0 126 | m_Mute: 0 127 | m_IsExit: 0 128 | serializedVersion: 3 129 | m_TransitionDuration: 0.25 130 | m_TransitionOffset: 0 131 | m_ExitTime: 0.75 132 | m_HasExitTime: 0 133 | m_HasFixedDuration: 1 134 | m_InterruptionSource: 0 135 | m_OrderedInterruption: 1 136 | m_CanTransitionToSelf: 1 137 | --- !u!1102 &1102197677484376202 138 | AnimatorState: 139 | serializedVersion: 5 140 | m_ObjectHideFlags: 3 141 | m_CorrespondingSourceObject: {fileID: 0} 142 | m_PrefabInstance: {fileID: 0} 143 | m_PrefabAsset: {fileID: 0} 144 | m_Name: PowerOff 145 | m_Speed: 1 146 | m_CycleOffset: 0 147 | m_Transitions: 148 | - {fileID: 1101236638803374086} 149 | m_StateMachineBehaviours: [] 150 | m_Position: {x: 50, y: 50, z: 0} 151 | m_IKOnFeet: 0 152 | m_WriteDefaultValues: 1 153 | m_Mirror: 0 154 | m_SpeedParameterActive: 0 155 | m_MirrorParameterActive: 0 156 | m_CycleOffsetParameterActive: 0 157 | m_TimeParameterActive: 0 158 | m_Motion: {fileID: 7400000, guid: e4298a09de25e7b4cab3494f77d7cd63, type: 2} 159 | m_Tag: 160 | m_SpeedParameter: 161 | m_MirrorParameter: 162 | m_CycleOffsetParameter: 163 | m_TimeParameter: 164 | --- !u!1102 &1102286514305486008 165 | AnimatorState: 166 | serializedVersion: 5 167 | m_ObjectHideFlags: 3 168 | m_CorrespondingSourceObject: {fileID: 0} 169 | m_PrefabInstance: {fileID: 0} 170 | m_PrefabAsset: {fileID: 0} 171 | m_Name: Talking 172 | m_Speed: 1 173 | m_CycleOffset: 0 174 | m_Transitions: 175 | - {fileID: 1101267646710361036} 176 | m_StateMachineBehaviours: [] 177 | m_Position: {x: 50, y: 50, z: 0} 178 | m_IKOnFeet: 0 179 | m_WriteDefaultValues: 1 180 | m_Mirror: 0 181 | m_SpeedParameterActive: 0 182 | m_MirrorParameterActive: 0 183 | m_CycleOffsetParameterActive: 0 184 | m_TimeParameterActive: 0 185 | m_Motion: {fileID: 7400000, guid: 7544f5fd8575eb84bad2f3632a261b21, type: 2} 186 | m_Tag: 187 | m_SpeedParameter: 188 | m_MirrorParameter: 189 | m_CycleOffsetParameter: 190 | m_TimeParameter: 191 | --- !u!1102 &1102509941415439560 192 | AnimatorState: 193 | serializedVersion: 5 194 | m_ObjectHideFlags: 3 195 | m_CorrespondingSourceObject: {fileID: 0} 196 | m_PrefabInstance: {fileID: 0} 197 | m_PrefabAsset: {fileID: 0} 198 | m_Name: PowerOn 199 | m_Speed: 1 200 | m_CycleOffset: 0 201 | m_Transitions: 202 | - {fileID: 1101633948048438920} 203 | m_StateMachineBehaviours: [] 204 | m_Position: {x: 50, y: 50, z: 0} 205 | m_IKOnFeet: 0 206 | m_WriteDefaultValues: 1 207 | m_Mirror: 0 208 | m_SpeedParameterActive: 0 209 | m_MirrorParameterActive: 0 210 | m_CycleOffsetParameterActive: 0 211 | m_TimeParameterActive: 0 212 | m_Motion: {fileID: 7400000, guid: bbfefea6019aee34ebcd746bd0f235e8, type: 2} 213 | m_Tag: 214 | m_SpeedParameter: 215 | m_MirrorParameter: 216 | m_CycleOffsetParameter: 217 | m_TimeParameter: 218 | --- !u!1107 &1107694678782946966 219 | AnimatorStateMachine: 220 | serializedVersion: 5 221 | m_ObjectHideFlags: 1 222 | m_CorrespondingSourceObject: {fileID: 0} 223 | m_PrefabInstance: {fileID: 0} 224 | m_PrefabAsset: {fileID: 0} 225 | m_Name: Base Layer 226 | m_ChildStates: 227 | - serializedVersion: 1 228 | m_State: {fileID: 1102197677484376202} 229 | m_Position: {x: 564, y: -264, z: 0} 230 | - serializedVersion: 1 231 | m_State: {fileID: 1102509941415439560} 232 | m_Position: {x: 516, y: -132, z: 0} 233 | - serializedVersion: 1 234 | m_State: {fileID: 1102286514305486008} 235 | m_Position: {x: 528, y: -12, z: 0} 236 | m_ChildStateMachines: [] 237 | m_AnyStateTransitions: 238 | - {fileID: 1101479725246298752} 239 | m_EntryTransitions: [] 240 | m_StateMachineTransitions: {} 241 | m_StateMachineBehaviours: [] 242 | m_AnyStatePosition: {x: 50, y: 20, z: 0} 243 | m_EntryPosition: {x: 50, y: 120, z: 0} 244 | m_ExitPosition: {x: 800, y: 120, z: 0} 245 | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} 246 | m_DefaultState: {fileID: 1102197677484376202} 247 | -------------------------------------------------------------------------------- /Packages/com.nekometer.esnya.udon-radio-communications-sf/Prefabs/DFUNC_URC_PTT.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &3794536601450044535 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 7732540466891687901} 12 | - component: {fileID: -500415943067810620} 13 | - component: {fileID: 4838727829773186363} 14 | m_Layer: 17 15 | m_Name: DFUNC_URC_PTT 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 0 21 | --- !u!4 &7732540466891687901 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 3794536601450044535} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: 32 | - {fileID: 3656439051290097712} 33 | m_Father: {fileID: 0} 34 | m_RootOrder: 0 35 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 36 | --- !u!114 &-500415943067810620 37 | MonoBehaviour: 38 | m_ObjectHideFlags: 0 39 | m_CorrespondingSourceObject: {fileID: 0} 40 | m_PrefabInstance: {fileID: 0} 41 | m_PrefabAsset: {fileID: 0} 42 | m_GameObject: {fileID: 3794536601450044535} 43 | m_Enabled: 1 44 | m_EditorHideFlags: 0 45 | m_Script: {fileID: 11500000, guid: 66f6c39e44130194287fc2104ef036a2, type: 3} 46 | m_Name: 47 | m_EditorClassIdentifier: 48 | serializationData: 49 | SerializedBytes: 50 | ReferencedUnityObjects: [] 51 | SerializedBytesString: 52 | Prefab: {fileID: 0} 53 | PrefabModificationsReferencedUnityObjects: [] 54 | PrefabModifications: [] 55 | SerializationNodes: [] 56 | _udonSharpBackingUdonBehaviour: {fileID: 4838727829773186363} 57 | Dial_Funcon: {fileID: 0} 58 | desktopKey: 112 59 | transmitter: {fileID: 5726141810189131184} 60 | --- !u!114 &4838727829773186363 61 | MonoBehaviour: 62 | m_ObjectHideFlags: 0 63 | m_CorrespondingSourceObject: {fileID: 0} 64 | m_PrefabInstance: {fileID: 0} 65 | m_PrefabAsset: {fileID: 0} 66 | m_GameObject: {fileID: 3794536601450044535} 67 | m_Enabled: 1 68 | m_EditorHideFlags: 0 69 | m_Script: {fileID: 11500000, guid: 45115577ef41a5b4ca741ed302693907, type: 3} 70 | m_Name: 71 | m_EditorClassIdentifier: 72 | interactTextPlacement: {fileID: 0} 73 | interactText: Use 74 | interactTextGO: {fileID: 0} 75 | proximity: 2 76 | SynchronizePosition: 0 77 | AllowCollisionOwnershipTransfer: 0 78 | Reliable: 0 79 | _syncMethod: 1 80 | programSource: {fileID: 11400000, guid: ec9bf459e6b06b0489104b8a57c5060a, type: 2} 81 | serializedPublicVariablesBytesString: Ai8AAAAAATIAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAFQAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AAAAAAAYBAAAAAAAAACcBBAAAAHQAeQBwAGUAAWgAAABTAHkAcwB0AGUAbQAuAEMAbwBsAGwAZQBjAHQAaQBvAG4AcwAuAEcAZQBuAGUAcgBpAGMALgBMAGkAcwB0AGAAMQBbAFsAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBJAG4AdABlAHIAZgBhAGMAZQBzAC4ASQBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AXQBdACwAIABtAHMAYwBvAHIAbABpAGIAAQEJAAAAVgBhAHIAaQBhAGIAbABlAHMALwEAAAABaAAAAFMAeQBzAHQAZQBtAC4AQwBvAGwAbABlAGMAdABpAG8AbgBzAC4ARwBlAG4AZQByAGkAYwAuAEwAaQBzAHQAYAAxAFsAWwBWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAEkAbgB0AGUAcgBmAGEAYwBlAHMALgBJAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgBdAF0ALAAgAG0AcwBjAG8AcgBsAGkAYgABAAAABgIAAAAAAAAAAi8CAAAAAUsAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAGAAMQBbAFsAUwB5AHMAdABlAG0ALgBCAG8AbwBsAGUAYQBuACwAIABtAHMAYwBvAHIAbABpAGIAXQBdACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgACAAAABgIAAAAAAAAAJwEEAAAAdAB5AHAAZQABFwAAAFMAeQBzAHQAZQBtAC4AUwB0AHIAaQBuAGcALAAgAG0AcwBjAG8AcgBsAGkAYgAnAQoAAABTAHkAbQBiAG8AbABOAGEAbQBlAAErAAAAXwBfAF8AVQBkAG8AbgBTAGgAYQByAHAAQgBlAGgAYQB2AGkAbwB1AHIASABhAHMARABvAG4AZQBTAGMAZQBuAGUAVQBwAGcAcgBhAGQAZQBfAF8AXwAnAQQAAAB0AHkAcABlAAEYAAAAUwB5AHMAdABlAG0ALgBCAG8AbwBsAGUAYQBuACwAIABtAHMAYwBvAHIAbABpAGIAKwEFAAAAVgBhAGwAdQBlAAEHBQIvAwAAAAFJAAAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQBgADEAWwBbAFMAeQBzAHQAZQBtAC4ASQBuAHQAMwAyACwAIABtAHMAYwBvAHIAbABpAGIAXQBdACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgADAAAABgIAAAAAAAAAJwEEAAAAdAB5AHAAZQABFwAAAFMAeQBzAHQAZQBtAC4AUwB0AHIAaQBuAGcALAAgAG0AcwBjAG8AcgBsAGkAYgAnAQoAAABTAHkAbQBiAG8AbABOAGEAbQBlAAEfAAAAXwBfAF8AVQBkAG8AbgBTAGgAYQByAHAAQgBlAGgAYQB2AGkAbwB1AHIAVgBlAHIAcwBpAG8AbgBfAF8AXwAnAQQAAAB0AHkAcABlAAEWAAAAUwB5AHMAdABlAG0ALgBJAG4AdAAzADIALAAgAG0AcwBjAG8AcgBsAGkAYgAXAQUAAABWAGEAbAB1AGUAAgAAAAcFBwUHBQ== 82 | publicVariablesUnityEngineObjects: [] 83 | publicVariablesSerializationDataFormat: 0 84 | --- !u!1001 &3606126053770691322 85 | PrefabInstance: 86 | m_ObjectHideFlags: 0 87 | serializedVersion: 2 88 | m_Modification: 89 | m_TransformParent: {fileID: 7732540466891687901} 90 | m_Modifications: 91 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 92 | type: 3} 93 | propertyPath: m_RootOrder 94 | value: 0 95 | objectReference: {fileID: 0} 96 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 97 | type: 3} 98 | propertyPath: m_LocalPosition.x 99 | value: 0 100 | objectReference: {fileID: 0} 101 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 102 | type: 3} 103 | propertyPath: m_LocalPosition.y 104 | value: 0 105 | objectReference: {fileID: 0} 106 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 107 | type: 3} 108 | propertyPath: m_LocalPosition.z 109 | value: 0 110 | objectReference: {fileID: 0} 111 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 112 | type: 3} 113 | propertyPath: m_LocalRotation.w 114 | value: 1 115 | objectReference: {fileID: 0} 116 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 117 | type: 3} 118 | propertyPath: m_LocalRotation.x 119 | value: 0 120 | objectReference: {fileID: 0} 121 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 122 | type: 3} 123 | propertyPath: m_LocalRotation.y 124 | value: 0 125 | objectReference: {fileID: 0} 126 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 127 | type: 3} 128 | propertyPath: m_LocalRotation.z 129 | value: 0 130 | objectReference: {fileID: 0} 131 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 132 | type: 3} 133 | propertyPath: m_LocalEulerAnglesHint.x 134 | value: 0 135 | objectReference: {fileID: 0} 136 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 137 | type: 3} 138 | propertyPath: m_LocalEulerAnglesHint.y 139 | value: 0 140 | objectReference: {fileID: 0} 141 | - target: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 142 | type: 3} 143 | propertyPath: m_LocalEulerAnglesHint.z 144 | value: 0 145 | objectReference: {fileID: 0} 146 | - target: {fileID: 8980280441849054445, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 147 | type: 3} 148 | propertyPath: m_Name 149 | value: Transmitter 150 | objectReference: {fileID: 0} 151 | m_RemovedComponents: [] 152 | m_SourcePrefab: {fileID: 100100000, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, type: 3} 153 | --- !u!4 &3656439051290097712 stripped 154 | Transform: 155 | m_CorrespondingSourceObject: {fileID: 51175102155045578, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 156 | type: 3} 157 | m_PrefabInstance: {fileID: 3606126053770691322} 158 | m_PrefabAsset: {fileID: 0} 159 | --- !u!114 &5726141810189131184 stripped 160 | MonoBehaviour: 161 | m_CorrespondingSourceObject: {fileID: 9042347520711024458, guid: af6c6a7eecd94db4d99a6edfd3ef68d6, 162 | type: 3} 163 | m_PrefabInstance: {fileID: 3606126053770691322} 164 | m_PrefabAsset: {fileID: 0} 165 | m_GameObject: {fileID: 0} 166 | m_Enabled: 1 167 | m_EditorHideFlags: 0 168 | m_Script: {fileID: 11500000, guid: 98a6c27f972c24744aae89638aaf7a56, type: 3} 169 | m_Name: 170 | m_EditorClassIdentifier: 171 | --------------------------------------------------------------------------------