Exemple #1
0
        void Start()
        {
            Messenger.AddConsumer(
                raw =>
            {
                FreeMessage message = FreeMessageSerializer.
                                      Deserialize(new MemoryStream(raw));

                if (message != null)
                {
                    Consumers.ForEach(a => a(message));
                }
            });
        }