void Awake()
    {
        //Here we show the different possibilities to create a OSCEventTarget from code:

        //When we only specify a port we listen to all OSCMessages on that port (We assume that there is a OSCConnection with that listening port in our scene)
        oscTarget1 = new UniOSCEventTargetCBImplementation(OSCPort);
        oscTarget1.OSCMessageReceived += OnOSCMessageReceived1;
        //oscTarget1.oscPort = OSCPort;

        //This implies that we use the explicitConnection mode. (With responding to all OSCmessages)
        oscTarget2 = new UniOSCEventTargetCBImplementation(OSCConnection);
        oscTarget2.OSCMessageReceived += OnOSCMessageReceived2;

        //We listen to a special OSCAddress regardless of the port.
        oscTarget3 = new UniOSCEventTargetCBImplementation(OSCAddress);
        oscTarget3.OSCMessageReceived += OnOSCMessageReceived3;

        //The standard : respond to a given OSCAddress on a given port
        oscTarget4 = new UniOSCEventTargetCBImplementation(OSCAddress, OSCPort);
        oscTarget4.OSCMessageReceived += OnOSCMessageReceived4;

        //This version has the advantage that we are not bound to a special port. If the connection changes the port we still respond to the OSCMessage
        oscTarget5 = new UniOSCEventTargetCBImplementation(OSCAddress, OSCConnection);
        oscTarget5.OSCMessageReceived += OnOSCMessageReceived5;


        oscDispatcher1 = new UniOSCEventDispatcherCBImplementation(OSCAddressOUT, OSCIPAddressOUT, OSCPortOUT);
        oscDispatcher1.AppendData("TEST1");

        oscDispatcher2 = new UniOSCEventDispatcherCBImplementation(OSCAddressOUT, OSCConnectionOUT);


        OSCConnection.transmissionTypeIn = OSCsharp.Net.TransmissionType.Multicast;
        OSCConnection.oscInIPAddress     = "224.0.0.1";//Set a valid Multicast address.
    }
    private UniOSCEventDispatcherCBImplementation oscDispatcher1;     // Declare an OSC message dispatcher from UniOSC framework.

    #endregion


    void Awake()
    {
        oscDispatcher1 = new UniOSCEventDispatcherCBImplementation(OSCAddressOUT1, OSCConnectionOUT);        // Wake up and get the dispatcher ready.
    }