Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yimelia committed Dec 25, 2023
1 parent 22bf600 commit f229be9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/drivers/unity3d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,16 @@ Using the ``sendMessage()`` Function

The ``UnityPoco.sendMessage()`` function allows you to send simple messages with a single string argument from Poco to Unity.

Unity-side
~~~~~~~~~~

Implement OnPocoMessageReceived and add it to PocoManager.MessageReceived. This function will be called when a message is received from Poco.

.. code-block:: csharp
PocoManager.MessageReceived += OnPocoMessageReceived;
Poco-side
~~~~~~~~~

Expand Down

0 comments on commit f229be9

Please sign in to comment.