using UnityEngine; using uOSC; [RequireComponent(typeof(uOscClient))] public class ClientTest : MonoBehaviour { void Update() { var client = GetComponent(); client.Send("/uOSC/test", 10, "hoge", "hogehoge", 1.234f, 123f, true, false); } public void OnClientStarted(string address, int port) { Debug.Log($"Start Client (address: {address}, port: {port})"); } public void OnClientStopped(string address, int port) { Debug.Log($"Stop Client (address: {address}, port: {port})"); } }