Skip to content

Commit f229be9

Browse files
committed
update doc
1 parent 22bf600 commit f229be9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/drivers/unity3d.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,16 @@ Using the ``sendMessage()`` Function
150150

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

153+
Unity-side
154+
~~~~~~~~~~
155+
156+
Implement OnPocoMessageReceived and add it to PocoManager.MessageReceived. This function will be called when a message is received from Poco.
157+
158+
.. code-block:: csharp
159+
160+
PocoManager.MessageReceived += OnPocoMessageReceived;
161+
162+
153163
Poco-side
154164
~~~~~~~~~
155165

0 commit comments

Comments
 (0)