public void ToggleBlackout() { Debug.Log("Blackout:" + blackout); blackout = !blackout; oscClient.SendSimpleMessage("/dmx/blackout", blackout ? 1 : 0); }