void Start() { for (int i = 0; i < DMXData.Length; i++) { DMXData [i] = (byte)(0); } // Artnet sender / client ArtEngine = new ArtNet.Engine("Open DMX Etheret", "192.168.0.90"); ArtEngine.Start(); // climbingholds[0].GetComponent<Renderer>().material.color = Color.magenta; }
void Start() { for (int i = 0; i < DMXData.Length; i++) { DMXData[i] = (byte)(0); } // Artnet sender / client string ipAddress = ip_textfield.text; if (ip_textfield.text == "") { ipAddress = ip_textfield.placeholder.GetComponent <Text>().text; } print(ipAddress); ArtEngine = new ArtNet.Engine("Open DMX Etheret", ipAddress); ArtEngine.Start(); }