Asset "WiFi for Pi" is Raspberry Pi MQTT Interface AssetAsset 'WiFi for Pi' is an interface asset between a single Windows PC and plural Raspberry Pis via WiFi using MQTT communication. This asset can quickly add plural Raspberry Pis to your game as a gamepad ― no code required! To use the sensors device (gyro, accelerometer, GPS, etc.) and the display panel (LED, LCD panel, etc.) on the Raspberry Pi, you write code in purchased assets into the Raspberry Pi and create Unity scripts by referencing sample code in purchased assets. Thereby you can use the sensor device data and the display panel data in your game.Features:This asset includes the Raspberry Pi code that obtains x, y, and z data from the Raspberry Pi. You write this code to the Raspberry Pi using Arduino IDE.Read x, y, and z data from the Raspberry Pi, convert x, y, and z data to byte array data type, and transfer that data to Unity using MQTT communication.This asset also includes the P Raspberry Pi code that receives numerical data at the Raspberry Pi. You write this code to the Raspberry Pi using Arduino IDE.This asset includes the Unity 3D object ‘vase’ for displaying the x, y, and z and Inputfield / Dropdown / Button for sending numerical to the Raspberry Pi.The PiWiFiSampleCode describes receiving the x, y, and z data from the Raspberry Pi and sending the numerical data to the Raspberry Pi.This asset on the Windows PC works as Publisher and Subscriber, also Broker. This asset on the Raspberry Pi works as a Publisher and Subscriber.Refer to ‘Quick Start of WiFi for Pi’ for details on how to set up this asset.Refer to ‘Design Tips of WiFi for Pi’ to rewrite the Raspberry Pi code and the PiWiFiSampleCode.Refer to ‘Technical details’ below for MQTT communication in this asset.Requirements:Unity 2022.3 or newerWindows PC (Windows 10 or 11) on Network including WiFi Router.Raspberry Pi 4(including Raspberry Pi Zero W) or higherThis asset includes third-party libraries under their respective licenses, which are scribed in Third-Party Notices.txt.In case of any trouble, contact me by email so I can assist you.Asset 'WiFi for Pi' uses MQTT communication between a single Windows PC and plural Raspberry Pis using the network. The Windows PC connects to the network using LAN or WiFi. Each Raspberry Pi connects the network using WiFi. This asset on the Windows PC works as Publisher and Subscriber, also Broker. This asset on the Raspberry Pi works as a Publisher and Subscriber. Workflow is as follows.Unity with this asset on the Windows PC inputs moving data as Subscriber from Unity topic.This asset on the Raspberry Pi outputs moving data as Publisher to Unity topic.Unity with this asset on the Windows PC outputs command data as Publisher to the Raspberry Pi topic.This asset on the Raspberry Pi inputs command data as Subscriber from Raspberry Pi topic.Moving data is for Horizontal or Vertical movement depending on Raspberry Pi No.Command data is for Raspberry Pi No and two input field data.